]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Introduce an alias for FILEDESC_{UN}LOCK() with the suffix _FAST.
authorphk <phk@FreeBSD.org>
Sat, 13 Nov 2004 11:53:02 +0000 (11:53 +0000)
committerphk <phk@FreeBSD.org>
Sat, 13 Nov 2004 11:53:02 +0000 (11:53 +0000)
commit216166ee0de39b10ba8e60f4115d65e1251ff29f
tree15f70d195895ba0b6c385bc2892b07302db4faaa
parent32d92d3a1a6bf10d16cd48469ec464510bd8ff2f
Introduce an alias for FILEDESC_{UN}LOCK() with the suffix _FAST.

Use this in all the places where sleeping with the lock held is not
an issue.

The distinction will become significant once we finalize the exact
lock-type to use for this kind of case.
16 files changed:
sys/compat/svr4/svr4_filio.c
sys/compat/svr4/svr4_misc.c
sys/dev/streams/streams.c
sys/fs/fdescfs/fdesc_vfsops.c
sys/fs/fdescfs/fdesc_vnops.c
sys/fs/unionfs/union_subr.c
sys/fs/unionfs/union_vfsops.c
sys/kern/kern_descrip.c
sys/kern/kern_event.c
sys/kern/kern_exec.c
sys/kern/kern_fork.c
sys/kern/sys_generic.c
sys/kern/uipc_syscalls.c
sys/kern/vfs_extattr.c
sys/kern/vfs_syscalls.c
sys/sys/filedesc.h