pipe - Fix piperd/pipewr deadlock in mpsafe case
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 13 Jul 2009 01:37:46 +0000 (18:37 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 13 Jul 2009 01:37:46 +0000 (18:37 -0700)
commitb20720b5191015783c5d4c26383307807e9c4862
treea66543a53dea1f86f6a74e4bc1f3545b7a0ed5fe
parent91325cdaa92f48ddf4a04022bdcaf2c75d78175c
pipe - Fix piperd/pipewr deadlock in mpsafe case

* Fix a bug where piperd and pipewr could be entered simultaniously
  by the reader and writer and neither gets woken up.

* Redo the hysteresis slightly to reduce IPIs even more.
sys/kern/sys_pipe.c