git: kernel - Refactor sys_pipe
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Oct 16 11:30:37 PDT 2017
commit 1dfdffca0e9d55ac5dd659c1c0dc07b6671dff0a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Oct 13 17:55:41 2017 -0700
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.
Summary of changes:
sys/kern/sys_pipe.c | 882 +++++++++++++++++++++++++++-------------------------
sys/sys/pipe.h | 81 ++---
2 files changed, 488 insertions(+), 475 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1dfdffca0e9d55ac5dd659c1c0dc07b6671dff0a
--
DragonFly BSD source repository
More information about the Commits
mailing list