Date: Tue, 31 Jul 2001 17:54:00 -0700 (PDT) From: Bosko Milekic <bmilekic@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_mbuf.c src/sys/sys smp.h Message-ID: <200108010054.f710s0Q23114@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108010054.f710s0Q23114>