diff options
| author | Ming Lei <[email protected]> | 2019-02-27 12:40:13 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2019-02-28 12:56:03 +0000 |
| commit | 594b9a89af8e7629e95a4cd844d188361be32790 (patch) | |
| tree | 3ecf8a9d37bd6b7a7810e7c8ce8f2032dd578cf8 /net/unix/garbage.c | |
| parent | block: optimize blk_bio_segment_split for single-page bvec (diff) | |
| download | kernel-594b9a89af8e7629e95a4cd844d188361be32790.tar.gz kernel-594b9a89af8e7629e95a4cd844d188361be32790.zip | |
block: introduce mp_bvec_for_each_page() for iterating over page
mp_bvec_for_each_segment() is a bit big for the iteration, so introduce
a light-weight helper for iterating over pages, then 32bytes stack
space can be saved.
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
