kernel - Refactor sys_pipe
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 14 Oct 2017 00:55:41 +0000 (17:55 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 16 Oct 2017 18:30:22 +0000 (11:30 -0700)
commit1dfdffca0e9d55ac5dd659c1c0dc07b6671dff0a
tree48aea100e12573f7f78a20c9f84ca373f010ddde
parentfb578eace6c2fb11150b7e39f0c516c979323d8d
kernel - Refactor sys_pipe

* Refactor the pipe code in preparation for optimization.  Get rid of
  the dual-pipe structure and instead have one pipe structure with
  two buffers.

* Scrap a ton of global statistics variables that nobody uses any more,
  get rid of pipe_peer, and get rid of the slock.
sys/kern/sys_pipe.c
sys/sys/pipe.h