Files
linux-net/include/linux
Jens Axboe 875f1d0769 iov_iter: add ITER_BVEC_FLAG_NO_REF flag
For ITER_BVEC, if we're holding on to kernel pages, the caller
doesn't need to grab a reference to the bvec pages, and drop that
same reference on IO completion. This is essentially safe for any
ITER_BVEC, but some use cases end up reusing pages and uncondtionally
dropping a page reference on completion. And example of that is
sendfile(2), that ends up being a splice_in + splice_out on the
pipe pages.

Add a flag that tells us it's fine to not grab a page reference
to the bvec pages, since that caller knows not to drop a reference
when it's done with the pages.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-03-18 10:44:48 -06:00
..
2019-02-28 09:16:12 +01:00
2019-02-08 22:39:01 -08:00
2019-02-24 08:20:17 -07:00
2019-01-24 11:11:45 -07:00
2019-02-15 08:40:12 -07:00
2019-02-01 20:55:38 +01:00
2019-02-27 17:22:50 +01:00
2019-02-01 20:55:38 +01:00
2019-02-28 08:24:23 -07:00
2018-12-19 10:42:08 +01:00
2019-03-05 21:07:16 -08:00
2019-02-15 16:54:38 +01:00
2019-02-24 08:20:17 -07:00
2019-03-05 21:07:17 -08:00
2019-01-11 20:51:24 +01:00
2019-03-07 18:32:03 -08:00
2019-01-04 13:13:48 -08:00
2019-03-07 18:32:03 -08:00
2019-01-30 20:51:47 -05:00
2019-02-20 07:22:17 -07:00
2019-02-20 07:22:10 -07:00
2019-02-08 15:02:49 -08:00
2019-03-05 21:07:19 -08:00
2019-03-03 21:47:57 -08:00
2019-01-07 16:38:26 +01:00
2019-02-25 21:20:45 +01:00
2019-02-03 11:17:31 -08:00
2019-02-07 16:38:35 +01:00
2019-02-07 00:13:27 +01:00
2019-03-18 10:44:48 -06:00
2019-01-11 18:05:40 -08:00
2019-02-26 12:53:55 +01:00
2018-12-22 12:15:29 +01:00