cvs commit: src/sys/kern kern_proc.c
M. Warner Losh
imp at bsdimp.com
Wed Jun 9 18:27:30 GMT 2004
In message: <20040609182041.GV12007 at darkness.comp.waw.pl>
Pawel Jakub Dawidek <pjd at FreeBSD.org> writes:
: BTW. Do we assume that atomic operations are atomic on MP machines?
: I read atomic(9), but I still don't know if I should use it or not for
: things like those.
They are. That's one thing that pessimizes them so horribly. They
have to be locked instructions on some architecutres that causes all
kinds of nasty (time consuming) things to happen.
Warner
More information about the cvs-src
mailing list