Martin Frey wrote:
What I don't understand is what happens if somebody
writes to a mmaped area. The page will certainly be
modifed. Reads will see the modification since the
page is in page cache. What about a write that
modifies a part of the same page? The contents in
the page cache is
Dear all,
I'm interested in the synchronization mechanism between
buffer and page cache, e.g. for read/writes/mmap
on an ext2 file system.
Can anybody give me a hint?
I understand how the read and writes get synchronized:
read (generic_file_read) checks the page cache,
if not found it calls