From owner-cvs-all Sat Jan 20 19:11:26 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9456B37B699; Sat, 20 Jan 2001 19:11:03 -0800 (PST) Received: (from jake@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0L3B3k73993; Sat, 20 Jan 2001 19:11:03 -0800 (PST) (envelope-from jake) Message-Id: <200101210311.f0L3B3k73993@freefall.freebsd.org> From: Jake Burkholder Date: Sat, 20 Jan 2001 19:11:03 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/include globals.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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