DragonFly commits List (threaded) for 2011-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - Implement degenerate timeout case for select() and poll()
commit 4979e190653603f0f22dab90b92a4fab2a6fc5a9
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Sat Nov 12 11:26:43 2011 -0800
kernel - Implement degenerate timeout case for select() and poll()
* When select() or poll() are called with no descriptors and only a
timeout, call nanosleep1() instead of using tsleep() to generate
a more precise time delay.
* Significantly improves postgresql's performance.
Summary of changes:
sys/kern/sys_generic.c | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4979e190653603f0f22dab90b92a4fab2a6fc5a9
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]