From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <18184.23379.478676.911097@cargo.ozlabs.ibm.com> Date: Sun, 7 Oct 2007 14:06:43 +1000 From: Paul Mackerras To: Kumar Gala Subject: Re: TASK_SIZE default 0x80000000 ? In-Reply-To: References: Cc: PowerPC dev list , Benjamin Herrenschmidt List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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.