Date: Fri, 24 Aug 2001 18:08:00 -0700 (PDT) From: Julian Elischer <julian@elischer.org> To: current@freebsd.org Subject: SMP private storage.. Message-ID: <Pine.BSF.4.21.0108241800320.60806-100000@InterJet.elischer.org>
next in thread | raw e-mail | index | archive | help
If we are not going to use separate VM mapping s to keep the per-cpu
information separate any more, then can we remove the support for it from
the kernel?
examples:
i386/i386/locore.s
#ifdef SMP
/*
* Define layout of per-cpu address space.
* This is "constructed" in locore.s on the BSP and in mp_machdep.c
* for each AP. DO NOT REORDER THESE WITHOUT UPDATING THE REST!
*/
.globl SMP_prvspace, lapic
.set SMP_prvspace,(MPPTDI << PDRSHIFT)
.set lapic,SMP_prvspace + (NPTEPG-1) * PAGE_SIZE
#endif /* SMP */
why do all this page-table stuff..
now we can hust malloc the damned thing..
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0108241800320.60806-100000>
