svn commit: r221614 - projects/largeSMP/sys/powerpc/include
Kostik Belousov
kostikbel at gmail.com
Fri May 13 15:43:58 UTC 2011
On Fri, May 13, 2011 at 03:50:47PM +0200, Attilio Rao wrote:
> The per-cpu stuff also, is read only. The pm_active objects are
> protected by VM locks.
pm_active is not protected by any vm lock. It is set and cleared
unlocked in the context switch code. But, the ctx switch only needs
to set and clear a single bit at the time of switch, that makes
the atomic operations sufficient for consistency.
I had a WIP on the Intel PCID, were such protection was not enough,
unfortunately.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-projects/attachments/20110513/76db1b29/attachment.pgp
More information about the svn-src-projects
mailing list