Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys_msync()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Wednesday, January 23, 2008 - 1:47 am

On Wed, 2008-01-23 at 02:21 +0300, Anton Salikhmetov wrote:


You've had two examples on how to write this loop, one from git commit
204ec841fbea3e5138168edbc3a76d46747cc987, and one from my draft, but
this one looks like neither and is much less efficient. Take the lock
only once per pmd, not once per pte please.


I think you want to pass start, end here too, you might not need to
sweep the whole vma.


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

Messages in current thread:
[PATCH -v8 0/4] Fixing the issue with memory-mapped file times, Anton Salikhmetov, (Tue Jan 22, 4:21 pm)
[PATCH -v8 2/4] Update ctime and mtime for memory-mapped files, Anton Salikhmetov, (Tue Jan 22, 4:21 pm)
[PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys_m ..., Anton Salikhmetov, (Tue Jan 22, 4:21 pm)
[PATCH -v8 4/4] The design document for memory-mapped file ..., Anton Salikhmetov, (Tue Jan 22, 4:21 pm)
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in s ..., Peter Zijlstra, (Wed Jan 23, 1:47 am)
Re: [PATCH -v8 4/4] The design document for memory-mapped ..., Anton Salikhmetov, (Wed Jan 23, 3:37 am)
Re: [PATCH -v8 4/4] The design document for memory-mapped ..., Anton Salikhmetov, (Wed Jan 23, 5:25 am)
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in s ..., Anton Salikhmetov, (Wed Jan 23, 5:53 am)
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in s ..., Anton Salikhmetov, (Wed Jan 23, 6:09 am)
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in s ..., Anton Salikhmetov, (Wed Jan 23, 10:26 am)
Re: [PATCH -v8 2/4] Update ctime and mtime for memory-mapp ..., Anton Salikhmetov, (Wed Jan 23, 4:14 pm)
Re: [PATCH -v8 4/4] The design document for memory-mapped ..., Anton Salikhmetov, (Fri Jan 25, 9:40 am)