Julian Elischer wrote:
> 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?
No, this is still very much used. I really want to fix this and will try
and take a shot over the weekend.
> #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..
"lapic" is the local apic hardware. You'd better not malloc that..
We map the IO apics into SMP_prvspace as well.
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
"All of this is for nothing if we don't go to the stars" - JMS/B5
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message