From: june.tune.sea@gmail.com (ishare) Date: Thu, 7 Mar 2013 12:48:06 +0800 Subject: zap_low_mappings In-Reply-To: <10237.1362628836@turing-police.cc.vt.edu> References: <20130307023318.GA2940@debian.localdomain> <8572.1362626368@turing-police.cc.vt.edu> <20130307034342.GA17978@debian.localdomain> <10237.1362628836@turing-police.cc.vt.edu> Message-ID: <20130307044806.GB17978@debian.localdomain> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Wed, Mar 06, 2013 at 11:00:36PM -0500, Valdis.Kletnieks at vt.edu wrote: > On Thu, 07 Mar 2013 11:43:43 +0800, ishare said: > > > set_pgd(swapper_pg_dir+i, __pgd(0)); > > > If I have not define CONFIG_X86_PAE ,then the low mem will be invalided all . > > And what makes you think that call invalidates *all* the page > mappings? because all the pde (0-768) are set to 0x0 ,so no phsical pages are mapping to these pde . isn't it?