Re: [PATCH -v7 2/2] Update ctime and mtime for memory-mapped files

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <salikhmetov@...>
Cc: <torvalds@...>, <linux-mm@...>, <jakob@...>, <linux-kernel@...>, <valdis.kletnieks@...>, <riel@...>, <ksm@...>, <staubach@...>, <jesper.juhl@...>, <a.p.zijlstra@...>, <akpm@...>, <protasnb@...>, <miklos@...>, <r.e.wolff@...>, <hidave.darkstar@...>, <hch@...>
Date: Tuesday, January 22, 2008 - 4:52 am

> > >

But note, that those functions iterate over all the vmas for the given
page range, not just the one msync was performed on.  This might get
even more expensive, if the file is mapped lots of times.

The old version, that Linus was referring to, needs some modification
as well, because it doesn't write protect the ptes, just marks them
clean.

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

Messages in current thread:
[PATCH -v7 0/2] Fixing the issue with memory-mapped file times, Anton Salikhmetov, (Mon Jan 21, 8:32 pm)
Re: [PATCH -v7 0/2] Fixing the issue with memory-mapped file..., Anton Salikhmetov, (Mon Jan 21, 9:40 pm)
[PATCH -v7 2/2] Update ctime and mtime for memory-mapped files, Anton Salikhmetov, (Mon Jan 21, 8:32 pm)
Re: [PATCH -v7 2/2] Update ctime and mtime for memory-mapped..., Anton Salikhmetov, (Mon Jan 21, 10:39 pm)
Re: [PATCH -v7 2/2] Update ctime and mtime for memory-mapped..., Miklos Szeredi, (Tue Jan 22, 4:52 am)
Re: [PATCH -v7 2/2] Update ctime and mtime for memory-mapped..., Anton Salikhmetov, (Mon Jan 21, 9:51 pm)
Re: [PATCH -v7 2/2] Update ctime and mtime for memory-mapped..., Anton Salikhmetov, (Mon Jan 21, 9:57 pm)
Re: [PATCH -v7 2/2] Update ctime and mtime for memory-mapped..., Anton Salikhmetov, (Mon Jan 21, 10:07 pm)
[PATCH -v7 1/2] Massive code cleanup of sys_msync(), Anton Salikhmetov, (Mon Jan 21, 8:32 pm)