Re: zap_low_mappings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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 ?

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux