> In message <199904272349.taa28...@lor.watermarkgroup.com>, Luoqi Chen writes:
> >I'm about to commit the SMP vmspace sharing patch (the %fs approach). All
> >kernel modules will need to be recompiled. Recompilation is not neccessary
> >for user land applications including ps, libkvm and friends.
> >
> >In this %fs approach, per-processor private pages are no longer mapped at
> >identical virtual address for each cpu, instead a new segment descriptor 
> >(%fs)
> >is setup to access per-cpu global variables like curproc. 
> 
> How is this accessed from C sources ?
> 
curproc is now a macro defined as an inline asm function.

> --
> Poul-Henning Kamp             FreeBSD coreteam member
> p...@freebsd.org               "Real hackers run -current on their laptop."
> FreeBSD -- It will take a long time before progress goes too far!
> 

-lq


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to