Date: Sat, 4 Nov 2000 13:55:27 -0800 (PST) From: Bosko Milekic <bmilekic@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern uipc_syscalls.c Message-ID: <200011042155.NAA97324@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bmilekic 2000/11/04 13:55:27 PST
Modified files:
sys/kern uipc_syscalls.c
Log:
Change the sf_bufs wakeups to be wakeup_one(), because we don't want to
wakeup all of the sleeping threads when we free only one buffer. This
avoids us having to needlessly try again (and fail, and go back to
sleep) for all the threads sleeping. We will now only wakeup the
thread we know will succeed.
Reviewed by: green
Revision Changes Path
1.74 +6 -5 src/sys/kern/uipc_syscalls.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011042155.NAA97324>
