lkml.org 
[lkml]   [2008]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH][RFC][BUG] updating the ctime and mtime time stamps in msync()
    On Wed, Jan 09, 2008 at 15:50:15 -0500, Rik van Riel wrote:
    > > Specifically, the ctime and mtime time stamps do change
    > > when modifying the mapped memory and do not change when
    > > there have been no write references between the mmap()
    > > and msync() system calls.
    >
    > As long as the ctime and mtime stamps change when the memory is
    > written to, what exactly is the problem?

    A "not" is missing from the sentence above. The quote above should have
    read:

    > > Specifically, the ctime and mtime time stamps do _not_ change when
    > > modifying the mapped memory and do not change when there have been
    > > no write references between the mmap() and msync() system calls.

    So essentially the problem is that mtime stamps are _never_ changed when
    the file is only modified through mmap. Not even when calling msync().

    --
    Kind regards,
    Klaus S. Madsen


    \
     
     \ /
      Last update: 2008-01-09 22:27    [W:0.127 / U:0.252 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site