public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* how do file-mapped (mmapped) pages become dirty?
@ 2003-10-28 12:35 Amir Hermelin
  2003-10-28 15:00 ` Helge Hafting
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Amir Hermelin @ 2003-10-28 12:35 UTC (permalink / raw)
  To: linux-kernel

Hi,
When a process mmaps a file, how does the kernel know the memory has been
written to (and hence the page is dirty)? Is this done by setting the
protected flag, and when the memory is first written to it's set to dirty?
What function is responsible for this setting? And when will the page be
written back to disk (i.e. where's the flusher located)?

Thanks for any help,
Amir.



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-10-28 18:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-28 12:35 how do file-mapped (mmapped) pages become dirty? Amir Hermelin
2003-10-28 15:00 ` Helge Hafting
2003-10-28 15:26   ` Chris Friesen
2003-10-28 15:45     ` Richard B. Johnson
2003-10-28 16:23       ` Chris Friesen
2003-10-28 15:39 ` Richard B. Johnson
2003-10-28 18:07 ` bill davidsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox