Give struct filedesc and struct file a spinlock, and do some initial
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 22 May 2006 00:52:31 +0000 (00:52 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 22 May 2006 00:52:31 +0000 (00:52 +0000)
commit85fceac1aa6146650f5da424aa80b86b8d0dae9a
tree58524b4d0ec364e43a22d600f99e6ee6ab3cd9f4
parentd666840ad3312b8c37863f61c8ee3139682230ed
Give struct filedesc and struct file a spinlock, and do some initial
(incomplete) lockup work.

Performance impact: No measurable impact.
sys/kern/kern_descrip.c
sys/sys/file.h
sys/sys/file2.h
sys/sys/filedesc.h