From: june.tune.sea@gmail.com (ishare) Date: Thu, 7 Mar 2013 11:43:43 +0800 Subject: zap_low_mappings In-Reply-To: <8572.1362626368@turing-police.cc.vt.edu> References: <20130307023318.GA2940@debian.localdomain> <8572.1362626368@turing-police.cc.vt.edu> Message-ID: <20130307034342.GA17978@debian.localdomain> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org sorry for my outof date kernel . In the zap_low_mappingd function.there is a selection for kernel,as below: #ifdef CONFIG_X86_PAE set_pgd(swapper_pg_dir+i, __pgd(1 + __pa(empty_zero_page))); #else set_pgd(swapper_pg_dir+i, __pgd(0)); #endif If I have not define CONFIG_X86_PAE ,then the low mem will be invalided all . so any addressing operation will cause a page_fault because that page is not present. Am I right ?