diff options
author | jeff <jeff@FreeBSD.org> | 2002-09-25 02:22:21 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2002-09-25 02:22:21 +0000 |
commit | ee7cd9172dd5eea53b5dbaba9e95161c06ddb2cc (patch) | |
tree | 532a92e113fd41f282f9da3df17e2f44f2240843 /sys/boot/arc | |
parent | 881a59ab9e299260a8156da632d621900864e7ef (diff) | |
download | FreeBSD-src-ee7cd9172dd5eea53b5dbaba9e95161c06ddb2cc.zip FreeBSD-src-ee7cd9172dd5eea53b5dbaba9e95161c06ddb2cc.tar.gz |
- Lock down the syncer with sync_mtx.
- Enable vfs_badlock_mutex by default.
- Assert that the vp is locked in VOP_UNLOCK.
- Use standard interlock macros in remaining code.
- Correct a race in getnewvnode().
- Lock access to v_numoutput with interlock.
- Lock access to buf lists and splay tree with interlock.
- Add VOP and VI asserts.
- Lock b_vnbufs with the vnode interlock.
- Add vrefcnt() for callers who want to retreive the vnode ref without
holding a lock. Add a comment that describes when this is safe.
- Add vholdl() and vdropl() so that callers who already own the interlock
can avoid race conditions and unnecessary unlocking.
- Move the VOP_GETATTR() in vflush() into the WRITECLOSE conditional case.
- Hold the interlock before droping the mntlist_mtx in vflush() to avoid
a race.
- Fix locking in vfs_msync().
Diffstat (limited to 'sys/boot/arc')
0 files changed, 0 insertions, 0 deletions