git: kernel - Implement degenerate timeout case for select() and poll()
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Nov 12 11:30:50 PST 2011
commit 4979e190653603f0f22dab90b92a4fab2a6fc5a9
Author: Matthew Dillon <dillon at 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
More information about the Commits
mailing list