Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Apr 1999 12:25:28 -0400 (EDT)
From:      Luoqi Chen <luoqi@watermarkgroup.com>
To:        luoqi@watermarkgroup.com, phk@critter.freebsd.dk
Cc:        current@FreeBSD.ORG, smp@FreeBSD.ORG
Subject:   Re: HEADS UP! to commit SMP vmspace sharing patches
Message-ID:  <199904281625.MAA05043@lor.watermarkgroup.com>

next in thread | raw e-mail | index | archive | help
> In message <199904272349.TAA28969@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
> phk@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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904281625.MAA05043>