What will happen if 2 processes map same physical page

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

 



Hi all,

The question is it ipossiblle in Linux/MMU/TLB  that 2 processes map to the same physical address?
Will CPU or  TLB discover that second process tries to reach occupied physical page?

What if first process set page permission to read and second whats to write to this page ?
Perhaps during context switch all page access permissions of first process is flashed out from MMU ?


I confess I do not know what exactly happens in TLB and between Linux and hardware view of pages.

I am particularly intereste in ARMv7, perhaps its architecture have some solutions to these question.

Regards,
Lev



_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://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