TASK_SIZE default 0x80000000 ?

Paul Mackerras paulus at samba.org
Sun Oct 7 14:06:43 EST 2007


Kumar Gala writes:

> In a discussion with Hollis over beer he raised the question why  
> TASK_SIZE is 0x80000000 on ppc32.
> 
> I was wondering if anyone know why this was still the case?  Seems  
> like we have a 1Gb whole between TASK_SIZE & KERNELBASE.

Two reasons: (a) PReP used to map PCI stuff with BATs in the
0x80000000 - 0xbfffffff region, and (b) some embedded ports with
software-loaded TLBs test just the high bit of the address to
determine whether to use the kernel or user page tables.

Paul.



More information about the Linuxppc-dev mailing list