[PATCH] splice: speedups and optimizations
- Kill the local variables that cache ->nrbufs, they just take up space.
- Only set do_wakeup for a real pipe. This is a big win for direct splicing.
- Kill i_mutex lock around ->f_pos update, regular io paths don't do this
either.
Signed-off-by: NJens Axboe <axboe@suse.de>
Showing
想要评论请 注册 或 登录