usage of the dirty bit in the pte

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

 




Hi,
From what knowledge I have, the dirty bit in the page table entry of a page is used to indicate whether the page has been modified. I suppose its usage is for knowing if this page has been written to the buffer cache (to be written to the disk later), before swapping it out. But this is in case of pages to be read/written to the I/O. What is the use of the dirty bit in case of shared memory? I saw that the swapper wont swap out dirty pages and thus doesnt swap out the shared memory pages which is needed. Is there any other use pf the dirty buit in case shared memory pages? Correct me if I am wrong anywhere here!!

Thanks in advance,
-Asmita from MAASK





_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail

--
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