看板 DFBSD_commit 關於我們 聯絡資訊
commit ce19c8fecac42ac0b6a72ade87299cb5c265732f Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Thu Jan 13 18:44:22 2011 -0800 kernel - Fix an inefficiency in wait*() * The exit code was not taking into account the fact that a parent process might race an exiting child, causing a tsleep(... "lwpzomb", hz) to delay an entire second. Issue the proper wakeup in all cases where p->p_nthreads drops to 1 or 0. * Improves buildworld performance a little. Summary of changes: sys/kern/kern_exit.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ce19c8fecac42ac0b6a72ade87299cb5c265732f -- DragonFly BSD source repository