[PATCH] splice: speedups and optimizations
authorJens Axboe <axboe@suse.de>
Tue, 11 Apr 2006 11:53:56 +0000 (13:53 +0200)
committerJens Axboe <axboe@suse.de>
Tue, 11 Apr 2006 11:53:56 +0000 (13:53 +0200)
- 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: Jens Axboe <axboe@suse.de>

No differences found