summaryrefslogtreecommitdiffstats
path: root/sys/dev/sio/sio.c
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2003-08-28 00:52:23 +0000
committerjeff <jeff@FreeBSD.org>2003-08-28 00:52:23 +0000
commitfd0b166b71c15af75d2190250d396854e4d82787 (patch)
treecab2c27d94406d08a8ec7b75be6542ca9b3d238c /sys/dev/sio/sio.c
parent9d9494d58d14ab797db5ae8f3082a45dc5568e3e (diff)
downloadFreeBSD-src-fd0b166b71c15af75d2190250d396854e4d82787.zip
FreeBSD-src-fd0b166b71c15af75d2190250d396854e4d82787.tar.gz
- In LCK_BUF() simply change the owner of the buf to the kernel.
- In ULCK_BUF we no longer need to acquire the lock, just write the buf out. - The combination of these changes eliminates one more use of B_LOCKED which is in the way of making the buffer cache SMP safe. In the long term ext2fs should probably not try to optimize the use of their metadata bufs with a private cache. This will starve the rest of the system for buffers in the extreme case. Discussed with: bde (A long time ago..) Tested on: md disk/x86
Diffstat (limited to 'sys/dev/sio/sio.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud