Re: [PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at syncing

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Peter Staubach <staubach@...>
Cc: <linux-mm@...>, <jakob@...>, <linux-kernel@...>, <Valdis.Kletnieks@...>, <riel@...>, <ksm@...>, <jesper.juhl@...>
Date: Friday, January 11, 2008 - 3:29 pm

2008/1/11, Peter Staubach <staubach@redhat.com>:

Indeed, FreeBSD, for example, implements updating ctime and mtime
in exactly the way you described. Many people I've spoken with do
interpret the POSIX requirement the same way as you do.

I had thoroughly investigated the possibility of implementing
the feature you are talking about, and came to the conclusion
that it would lead to quite massive changes and would require
a very complicated work with locks. At least, within
the current kernel design for the memory management.
So, I believe that the "auto-updating" feature should be
implemented later and outside of the bug #2645.

Finally, my solution puts the Linux kernel much closer to
the POSIX standard (the msync() and fsync() requirements), anyway.
And the changes which my patch contains, to the best of my knowledge,
do not intersect with the possible implementation of
the "auto-updating" feature.

I'm planning on adding the "auto-updating" feature in
the nearest future, but it looks like a separate project to me.

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

Messages in current thread:
[PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at syn..., Anton Salikhmetov, (Thu Jan 10, 8:44 pm)
Re: [PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at..., Anton Salikhmetov, (Sat Jan 12, 8:17 am)
Re: [PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at..., Anton Salikhmetov, (Sat Jan 12, 8:38 am)
Re: [PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at..., Anton Salikhmetov, (Sat Jan 12, 9:51 am)
Re: [PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at..., Anton Salikhmetov, (Fri Jan 11, 10:24 pm)
Re: [PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at..., Anton Salikhmetov, (Fri Jan 11, 5:40 pm)
Re: [PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at..., Anton Salikhmetov, (Fri Jan 11, 6:15 pm)
Re: [PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at..., Anton Salikhmetov, (Fri Jan 11, 3:29 pm)