diff options
author | Kent Overstreet | 2015-05-04 16:52:20 -0700 |
---|---|---|
committer | Jens Axboe | 2018-05-14 13:14:23 -0600 |
commit | c1a67fefd0546a5552289c65fe31b1d60e64b643 (patch) | |
tree | e96bfb877d770c45e4b7a58d251edf3808ae5d32 /block/bio-integrity.c | |
parent | c854ab5773be1c1a0d3cef0c3a3261f2c48ab7f8 (diff) |
mempool: Add mempool_init()/mempool_exit()
Allows mempools to be embedded in other structs, getting rid of a
pointer indirection from allocation fastpaths.
mempool_exit() is safe to call on an uninitialized but zeroed mempool.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bio-integrity.c')
0 files changed, 0 insertions, 0 deletions