zap_low_mappings

ishare june.tune.sea at gmail.com
Wed Mar 6 22:43:43 EST 2013



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 ?



More information about the Kernelnewbies mailing list