Re: Why a locked page must be copied in COW?

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

 



Hi Permenides...

On Sat, Sep 15, 2012 at 9:51 PM, Parmenides <mobile.parmenides@xxxxxxxxx> wrote:
> In conclusion, if old_page is locked or it is not locked and two or
> more  processes own old_page, we should copy it. I don't understand
> why a locked page must be copied regardless of how many processes own
> it. Why do we give a locked page a special consideration?

this is really new stuff.... okay, wp should be "write protect", right?

if that so, I have a mild good guess that copying the page is actually
a way to not add another pressure to the locked page.

By doing that, write protect could be done right away and write
operations follow that. Not sure if we need to do synchronization
between the new page and the old locked page.

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

_______________________________________________
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