Date: Sat, 20 Jan 2001 19:11:03 -0800 (PST) From: Jake Burkholder <jake@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/include globals.h Message-ID: <200101210311.f0L3B3k73993@freefall.freebsd.org>
index | next in thread | raw e-mail
jake 2001/01/20 19:11:03 PST
Modified files:
sys/i386/include globals.h
Log:
Implement optimized PCPU accessors. These are necessary to support a
pre-emptable kernel. For variables of size 4 bytes or less they compile
to a single instruction, which does not allow a process to migrate cpus
in the middle, and get the value for the "wrong" cpu.
Revision Changes Path
1.17 +95 -20 src/sys/i386/include/globals.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101210311.f0L3B3k73993>
