diff options
author | Christoph Hellwig <hch@lst.de> | 2021-10-12 13:12:22 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-18 06:17:36 -0600 |
commit | 1a7e76e4f130332b5d3b0c72c4f664e59deb1239 (patch) | |
tree | 6fef50bb5656bf235482cbd0d862527515b2f045 /include/linux/bvec.h | |
parent | 6ce913fe3eee14f40f778e85999c9e599dda8c6b (diff) | |
download | lwn-1a7e76e4f130332b5d3b0c72c4f664e59deb1239.tar.gz lwn-1a7e76e4f130332b5d3b0c72c4f664e59deb1239.zip |
block: use SLAB_TYPESAFE_BY_RCU for the bio slab
This flags ensures that the pages will not be reused for non-bio
allocations before the end of an RCU grace period. With that we can
safely use a RCU lookup for bio polling as long as we are fine with
occasionally polling the wrong device.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Mark Wunderlich <mark.wunderlich@intel.com>
Link: https://lore.kernel.org/r/20211012111226.760968-13-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/bvec.h')
0 files changed, 0 insertions, 0 deletions