Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Oct 2005 14:58:58 +0000 (UTC)
From:      Diomidis Spinellis <dds@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/vm vm_mmap.c
Message-ID:  <200510041458.j94Eww99013781@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
dds         2005-10-04 14:58:58 UTC

  FreeBSD src repository

  Modified files:
    sys/vm               vm_mmap.c 
  Log:
  Update the vnode's access time after an mmap operation on it.
  Before this change a copy operation with cp(1) would not update the
  file access times.
  
  According to the POSIX mmap(2) documentation: the st_atime field
  of the mapped file may be marked for update at any time between the
  mmap() call and the corresponding munmap() call. The initial read
  or write reference to a mapped region shall cause the file's st_atime
  field to be marked for update if it has not already been marked for
  update.
  
  Revision  Changes    Path
  1.202     +12 -0     src/sys/vm/vm_mmap.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510041458.j94Eww99013781>