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 <[EMAIL PROTECTED]> -- 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to