From owner-cvs-all@FreeBSD.ORG Tue Oct 4 14:58:59 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28B5216A41F; Tue, 4 Oct 2005 14:58:59 +0000 (GMT) (envelope-from dds@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D865D43D45; Tue, 4 Oct 2005 14:58:58 +0000 (GMT) (envelope-from dds@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j94Ewwtt013782; Tue, 4 Oct 2005 14:58:58 GMT (envelope-from dds@repoman.freebsd.org) Received: (from dds@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j94Eww99013781; Tue, 4 Oct 2005 14:58:58 GMT (envelope-from dds) Message-Id: <200510041458.j94Eww99013781@repoman.freebsd.org> From: Diomidis Spinellis Date: Tue, 4 Oct 2005 14:58:58 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/vm vm_mmap.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2005 14:58:59 -0000 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