Date: Tue, 18 Sep 2001 15:02:13 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: hackers@FreeBSD.org Subject: JKH Project: x86: pcb_ext Message-ID: <XFMail.010918150213.jhb@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.org> -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010918150213.jhb>