From owner-freebsd-hackers Tue Sep 18 15: 3: 0 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.wrs.com (unknown-1-11.windriver.com [147.11.1.11]) by hub.freebsd.org (Postfix) with ESMTP id 97B0237B40C for ; Tue, 18 Sep 2001 15:02:58 -0700 (PDT) Received: from laptop.baldwin.cx ([147.11.46.201]) by mail.wrs.com (8.9.3/8.9.1) with ESMTP id PAA06551 for ; Tue, 18 Sep 2001 15:02:27 -0700 (PDT) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Tue, 18 Sep 2001 15:02:13 -0700 (PDT) From: John Baldwin To: hackers@FreeBSD.org Subject: JKH Project: x86: pcb_ext 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 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