From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 27 Aug 2007 18:19:56 -0500 From: Anton Blanchard To: Chris Friesen Subject: Re: what is ~1MB of memory allocated at fffea000-fffff000 on ppc64? Message-ID: <20070827231956.GA5149@kryten> References: <46D3326C.3000505@nortel.com> <20070827203157.GD13612@kryten> <46D34A9E.7010501@nortel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <46D34A9E.7010501@nortel.com> Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi, > For some background, we're running an emulator that uses a null pointer > value of 0xffff0000 and we want any accesses to that address to trap. Weird :) > Do you anticipate any issues with the following change? > > -#define TASK_SIZE_USER32 (0x0000000100000000UL - (1*PAGE_SIZE)) > +#define TASK_SIZE_USER32 (0x00000000FFFF0000UL - (1*PAGE_SIZE)) Should be OK, for a 64kB kernel we will put the stack top at 0xFFFF0000 anyway. Anton