git: kernel - Implement degenerate timeout case for select() and

看板DFBSD_commit作者時間14年前 (2011/11/13 03:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1ElictlR (DFBSD_commit)