NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/40389 CVS commit: [netbsd-5] src/sys

The following reply was made to PR kern/40389; it has been noted by GNATS.

From: Manuel Bouyer <>
Subject: PR/40389 CVS commit: [netbsd-5] src/sys
Date: Tue, 7 Sep 2010 19:33:35 +0000

 Module Name:   src
 Committed By:  bouyer
 Date:          Tue Sep  7 19:33:35 UTC 2010
 Modified Files:
        src/sys/miscfs/genfs [netbsd-5]: genfs_io.c genfs_node.h genfs_vnops.c
        src/sys/ufs/ufs [netbsd-5]: ufs_inode.c
        src/sys/uvm [netbsd-5]: uvm_pager.h
 Log Message:
 Pull up following revision(s) (requested by chs in ticket #1448):
        sys/uvm/uvm_pager.h: revision 1.39 via patch
        sys/miscfs/genfs/genfs_vnops.c: revision 1.183 via patch
        sys/ufs/ufs/ufs_inode.c: revision 1.83 via patch
        sys/miscfs/genfs/genfs_io.c: revision 1.40 via patch
        sys/miscfs/genfs/genfs_node.h: revision 1.20 via patch
 replace the earlier workaround for PR 40389 with a better fix.
 the earlier change caused data corruption by freeing pages
 without invaliding their mappings.  instead of the trylock/retry,
 just take the genfs-node lock before calling VOP_GETPAGES()
 and pass a new flag to tell it that we're already holding this lock.
 To generate a diff of this commit:
 cvs rdiff -u -r1.13.4.2 -r1.13.4.3 src/sys/miscfs/genfs/genfs_io.c
 cvs rdiff -u -r1.17 -r1.17.8.1 src/sys/miscfs/genfs/genfs_node.h
 cvs rdiff -u -r1.167 -r1.167.10.1 src/sys/miscfs/genfs/genfs_vnops.c
 cvs rdiff -u -r1.76.4.3 -r1.76.4.4 src/sys/ufs/ufs/ufs_inode.c
 cvs rdiff -u -r1.38 -r1.38.4.1 src/sys/uvm/uvm_pager.h
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index