summaryrefslogtreecommitdiffstats
path: root/share/colldef
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2008-07-30 12:39:18 +0000
committered <ed@FreeBSD.org>2008-07-30 12:39:18 +0000
commitfaa0cddcb0c74e532ea21c55581a6bc848ad0c4a (patch)
tree5ee2eebd4d1a5da4b892ace4b58fc6068fdfe622 /share/colldef
parent870de37626ca069ffd8dc0d083dc610bfcc1332b (diff)
downloadFreeBSD-src-faa0cddcb0c74e532ea21c55581a6bc848ad0c4a.zip
FreeBSD-src-faa0cddcb0c74e532ea21c55581a6bc848ad0c4a.tar.gz
Remove the use of lbolt from the VFS syncer.
It seems we only use `lbolt' inside the VFS syncer and the TTY layer now. Because I'm planning to replace the TTY layer next month, there's no reason to keep `lbolt' if it's only used in a single thread inside the kernel. Because the syncer code wanted to wake up the syncer thread before the timeout, it called sleepq_remove(). Because we now just use a condvar(9) with a timeout value of `hz', we can wake it up using cv_broadcast() without waking up any unrelated threads. Reviewed by: phk
Diffstat (limited to 'share/colldef')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud