pipe: redo reader/writer counting
authorAlan Cox <alan@linux.intel.com>
Mon, 29 Aug 2016 10:54:01 +0000 (11:54 +0100)
committerAlan Cox <alan@linux.intel.com>
Mon, 29 Aug 2016 10:54:01 +0000 (11:54 +0100)
commit0b3a3bf7a3072efb2632a5b4810affbdd6740401
tree4c68087c15c9ce8be9c69bf573c11c1ee37c166e
parent6e065b1ba763d7f2025db04d2ed1b7e6cf3780be
pipe: redo reader/writer counting

It's almost as cheap to keep counters as go scanning each time in terms of
memory usage and much much faster.
Kernel/filesys.c
Kernel/include/kernel.h
Kernel/inode.c
Kernel/syscall_fs.c
Kernel/syscall_fs3.c
Kernel/syscall_net.c