[RFC PATCH v2 0/1] Pipe busy wait

2018-09-25 Thread subhra mazumdar
This patch introduces busy waiting for pipes similar to network sockets. When pipe is full or empty a thread busy waits for some microseconds before sleeping. This avoids the sleep and wakeup overhead and improves performance in case wakeup happens very fast. It uses a new field in pipe_inode_info

[RFC PATCH v2 0/1] Pipe busy wait

2018-09-25 Thread subhra mazumdar
This patch introduces busy waiting for pipes similar to network sockets. When pipe is full or empty a thread busy waits for some microseconds before sleeping. This avoids the sleep and wakeup overhead and improves performance in case wakeup happens very fast. It uses a new field in pipe_inode_info