Query regarding page access protection flags linux kernel

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

 



Hello,

I am trying to understand the page fault handling and MMU. These are my queries

1) What is the exact difference between the protection flags in vm_area_struct and pte's protection flags of the page.
Does the field "pgprot_t vm_page_prot" in vm_area_struct contain the protection flags of all the pages in that vm_area? If so how to set these for individual pages?

I have come across this http://marc.info/?l=linux-mm&m=109422600806490
But could not find any answer to this post.

2) Does MMU (x86 arch) check the vm_area prot flags or the page's pte flags to cause the page fault?

Please help !!

Thanks,
Ravali
_______________________________________________
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