From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 23 Aug 2007 13:13:40 +1000 From: David Gibson To: Stephen Rothwell Subject: Re: [PATCH 2/2] [POWERPC] Size swapper_pg_dir correctly Message-ID: <20070823031340.GI7042@localhost.localdomain> References: <20070823130913.2e9db6eb.sfr@canb.auug.org.au> <20070823131032.04d929e7.sfr@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20070823131032.04d929e7.sfr@canb.auug.org.au> Cc: ppc-dev , paulus@samba.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Aug 23, 2007 at 01:10:32PM +1000, Stephen Rothwell wrote: > David Gibson pointed out that swapper_pg_dir actually need to be > PGD_TABLE_SIZE bytes long not PAGE_SIZE. This actually saves 64k in > the bss for a ppc64_defconfig kernel built with CONFIG_PPC_64K_PAGES. > > Signed-off-by: Stephen Rothwell Acked-by: David Gibson -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson