login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
January
»
18
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapped files
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Miklos Szeredi <miklos@...>
To: <riel@...>
Cc: <miklos@...>, <torvalds@...>, <peterz@...>, <salikhmetov@...>, <linux-mm@...>, <jakob@...>, <linux-kernel@...>, <valdis.kletnieks@...>, <ksm@...>, <staubach@...>, <jesper.juhl@...>, <akpm@...>, <protasnb@...>, <r.e.wolff@...>, <hidave.darkstar@...>, <hch@...>
Subject:
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapped files
Date: Friday, January 18, 2008 - 2:51 pm
> > > And even in that four-liner, I suspect that the *last* two lines are
quoted text
> > > actually incorrect: there's no point in updating the file time when the > > > page *becomes* dirty, > > > > Actually all four lines do that. The first two for a write access on > > a present, read-only pte, the other two for a write on a non-present > > pte. > > > > > we should update the file time when it is marked > > > clean, and "msync(MS_SYNC)" should update it as part of *that*. > > > > That would need a new page flag (PG_mmap_dirty?). Do we have one > > available? > > I thought the page writing stuff looked at (and cleared) the pte > dirty bit, too?
Yeah, it does. Hmm... What happens on munmap? The times _could_ get updated from there as well, but it's getting complicated. Miklos --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH -v6 0/2] Fixing the issue with memory-mapped file times
, Anton Salikhmetov
, (Thu Jan 17, 6:31 pm)
Re: [PATCH -v6 0/2] Fixing the issue with memory-mapped file...
, Miklos Szeredi
, (Fri Jan 18, 5:40 am)
Re: [PATCH -v6 0/2] Fixing the issue with memory-mapped file...
, Anton Salikhmetov
, (Fri Jan 18, 3:48 pm)
Re: [PATCH -v6 0/2] Fixing the issue with memory-mapped file...
, Miklos Szeredi
, (Sat Jan 19, 6:45 am)
Re: [PATCH -v6 0/2] Fixing the issue with memory-mapped file...
, Anton Salikhmetov
, (Fri Jan 18, 6:31 am)
[PATCH -v6 2/2] Updating ctime and mtime for memory-mapped f...
, Anton Salikhmetov
, (Thu Jan 17, 6:31 pm)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Miklos Szeredi
, (Fri Jan 18, 5:51 am)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Peter Zijlstra
, (Fri Jan 18, 6:15 am)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Miklos Szeredi
, (Fri Jan 18, 6:38 am)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Peter Zijlstra
, (Fri Jan 18, 7:00 am)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Miklos Szeredi
, (Fri Jan 18, 7:17 am)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Peter Zijlstra
, (Fri Jan 18, 7:23 am)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Miklos Szeredi
, (Fri Jan 18, 7:36 am)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Peter Zijlstra
, (Fri Jan 18, 6:25 am)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Linus Torvalds
, (Fri Jan 18, 1:58 pm)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Miklos Szeredi
, (Fri Jan 18, 2:11 pm)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Linus Torvalds
, (Fri Jan 18, 2:43 pm)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Miklos Szeredi
, (Fri Jan 18, 2:57 pm)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Linus Torvalds
, (Fri Jan 18, 3:08 pm)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Miklos Szeredi
, (Fri Jan 18, 3:22 pm)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Linus Torvalds
, (Fri Jan 18, 3:35 pm)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Ingo Oeser
, (Fri Jan 18, 6:32 pm)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Linus Torvalds
, (Fri Jan 18, 6:47 pm)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Peter Staubach
, (Mon Jan 21, 10:25 am)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Anton Salikhmetov
, (Mon Jan 21, 10:36 am)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Rik van Riel
, (Fri Jan 18, 6:54 pm)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Matt Mackall
, (Fri Jan 18, 8:50 pm)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Miklos Szeredi
, (Sat Jan 19, 6:22 am)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Matt Mackall
, (Sat Jan 19, 11:49 am)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Rik van Riel
, (Sat Jan 19, 12:25 am)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Anton Salikhmetov
, (Fri Jan 18, 3:58 pm)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Linus Torvalds
, (Fri Jan 18, 4:22 pm)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Anton Salikhmetov
, (Fri Jan 18, 5:03 pm)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Linus Torvalds
, (Fri Jan 18, 5:27 pm)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Anton Salikhmetov
, (Fri Jan 18, 6:04 pm)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Linus Torvalds
, (Fri Jan 18, 6:21 pm)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Anton Salikhmetov
, (Fri Jan 18, 6:35 pm)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Rik van Riel
, (Fri Jan 18, 2:28 pm)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Miklos Szeredi
, (Fri Jan 18, 2:51 pm)
Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapp...
, Anton Salikhmetov
, (Fri Jan 18, 6:39 am)
[PATCH -v6 1/2] Massive code cleanup of sys_msync()
, Anton Salikhmetov
, (Thu Jan 17, 6:31 pm)
Re: [PATCH -v6 1/2] Massive code cleanup of sys_msync()
, Miklos Szeredi
, (Fri Jan 18, 5:33 am)
Re: [PATCH -v6 1/2] Massive code cleanup of sys_msync()
, Anton Salikhmetov
, (Fri Jan 18, 6:30 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Chuck Ebbert
Why do so many machines need "noapic"?
Paul Jackson
Re: cpuset-remove-sched-domain-hooks-from-cpusets
FUJITA Tomonori
Re: Integration of SCST in the mainstream Linux kernel
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
James Morris
Re: [GIT]: Networking
Evgeniy Polyakov
Re: [BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
5 users
and
848 guests
online.
Online users
zeekec
cpainfo
fatlossqueen67
K-Z
net4millionaire
Syndicate