Source-Changes archive

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

CVS commit: src/sys

Module Name:    src
Committed By:   ad
Date:           Tue Apr 21 21:42:47 UTC 2020

Modified Files:
        src/sys/compat/netbsd32: netbsd32_fs.c
        src/sys/kern: kern_exec.c kern_proc.c uipc_usrreq.c vfs_cwd.c
            vfs_getcwd.c vfs_lookup.c vfs_mount.c vfs_subr.c vfs_syscalls.c
        src/sys/miscfs/procfs: procfs_vnops.c
        src/sys/sys: filedesc.h

Log Message:
Revert the changes made in February to make cwdinfo use mostly lockless,
which relied on taking extra vnode refs.

Having benchmarked various experimental changes over the past few months it
seems that it's better to avoid vnode refs as much as possible.  cwdi_lock
as a RW lock already did that to some extent for getcwd() and will permit
the same for namei() too.

To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/sys/compat/netbsd32/netbsd32_fs.c
cvs rdiff -u -r1.497 -r1.498 src/sys/kern/kern_exec.c
cvs rdiff -u -r1.245 -r1.246 src/sys/kern/kern_proc.c
cvs rdiff -u -r1.197 -r1.198 src/sys/kern/uipc_usrreq.c
cvs rdiff -u -r1.5 -r1.6 src/sys/kern/vfs_cwd.c
cvs rdiff -u -r1.58 -r1.59 src/sys/kern/vfs_getcwd.c
cvs rdiff -u -r1.217 -r1.218 src/sys/kern/vfs_lookup.c
cvs rdiff -u -r1.80 -r1.81 src/sys/kern/vfs_mount.c
cvs rdiff -u -r1.485 -r1.486 src/sys/kern/vfs_subr.c
cvs rdiff -u -r1.546 -r1.547 src/sys/kern/vfs_syscalls.c
cvs rdiff -u -r1.210 -r1.211 src/sys/miscfs/procfs/procfs_vnops.c
cvs rdiff -u -r1.66 -r1.67 src/sys/sys/filedesc.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