From owner-freebsd-hackers Tue Sep 18 15:15: 4 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from InterJet.elischer.org (c421509-a.pinol1.sfba.home.com [24.7.86.9]) by hub.freebsd.org (Postfix) with ESMTP id D2BEE37B410; Tue, 18 Sep 2001 15:14:56 -0700 (PDT) Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id PAA22852; Tue, 18 Sep 2001 15:58:46 -0700 (PDT) Date: Tue, 18 Sep 2001 15:58:46 -0700 (PDT) From: Julian Elischer To: John Baldwin Cc: hackers@FreeBSD.org Subject: Re: JKH Project: x86: pcb_ext In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG this is already on my list of "non 1:1 fixes needed" On Tue, 18 Sep 2001, John Baldwin wrote: > Here's a Junior Kernel Hacker project for someone: > > - Move pcb_ext and pcb_ldt out of the pcb of struct thread and into > struct mdproc; I.e., you probably want to do something like this: > - Rename struct pcb_ext to struct proc_tss and struct pcb_ldt to > struct proc_ldt. (Fixup pcb_ext member names to use a tss_ > prefix instead of ext_) > - Have a struct mdproc as so: > > struct mdproc { > struct proc_tss *md_tss; > struct proc_ldt *md_ldt; > } > > Prior to KSE this was just annoyance but wasn't an actual problem. With KSE > threads are temporary, whereas the ldt and tss are per-process properties that > need to stick around. > > -- > > John Baldwin -- http://www.FreeBSD.org/~jhb/ > PGP Key: http://www.baldwin.cx/~john/pgpkey.asc > "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message