RE: Are there shared copy-on-write pages?

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

 




-----Original Message-----
From: kernelnewbies-bounce@xxxxxxxxxxxx
[mailto:kernelnewbies-bounce@xxxxxxxxxxxx]On Behalf Of Jim Bauer
Sent: Saturday, June 11, 2005 8:58 AM
To: kernelnewbies@xxxxxxxxxxxx
Subject: Re: Are there shared copy-on-write pages?

>yep.  The MMU is told it is read-only, while the (I think) page tables have
>it marked read-write.  The fault handler seeing this understands it to
>be a COW page, makes a read-write copy for the faulting process.
  If the Page Tables bits are set as read-write then the Page Fault will not
happen on a write, right? Is it not that, for COW pages, the Page Tables
will
 have the write permission turned off, but the corresponding VMA will have
 the 'write' flag turned on ??. 

Gop
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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