Re: [patch resend v4] update ctime and mtime for mmaped write

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Miklos Szeredi
Date: Monday, March 26, 2007 - 11:55 pm

> > > > This patch makes writing to shared memory mappings update st_ctime and

What do you need the page flag for?  The "modified through mmap" info
is there in the ptes.  And from the ptes it can be transfered to a
per-address_space flag.  Nobody is interested through which page was
the file modified.

Anyway, that's just MS_SYNC.  MS_ASYNC doesn't walk the pages, yet it
should update the timestamp.  That's the difficult one.

Miklos
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch resend v4] update ctime and mtime for mmaped write, Miklos Szeredi, (Sun Mar 25, 2:10 pm)
Re: [patch resend v4] update ctime and mtime for mmaped write, Miklos Szeredi, (Mon Mar 26, 11:55 pm)