From owner-cvs-all Tue Jul 31 17:54: 3 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 4BAE737B403; Tue, 31 Jul 2001 17:54:00 -0700 (PDT) (envelope-from bmilekic@FreeBSD.org) Received: (from bmilekic@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f710s0Q23114; Tue, 31 Jul 2001 17:54:00 -0700 (PDT) (envelope-from bmilekic) Message-Id: <200108010054.f710s0Q23114@freefall.freebsd.org> From: Bosko Milekic Date: Tue, 31 Jul 2001 17:54:00 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_mbuf.c src/sys/sys smp.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG bmilekic 2001/07/31 17:54:00 PDT Modified files: sys/kern subr_mbuf.c sys/sys smp.h Log: Move CPU_ABSENT() macro to smp.h, where it belongs anyway. It will be defined to 0 in the non-SMP case, which very much makes sense as it permits its usage in per-CPU initialization loops (for an example, check out subr_mbuf.c). Further, on a UP system, make mb_alloc always use the first per-CPU container, regardless of cpuid (i.e. remove reliability on cpuid in the UP case). Requested by: alfred Revision Changes Path 1.6 +5 -16 src/sys/kern/subr_mbuf.c 1.67 +10 -2 src/sys/sys/smp.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message