Searched hist:c1a67fefd0546a5552289c65fe31b1d60e64b643 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | mempool.h | diff c1a67fefd0546a5552289c65fe31b1d60e64b643 Mon May 04 18:52:20 CDT 2015 Kent Overstreet <kent.overstreet@gmail.com> 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>
|
/openbmc/linux/mm/ |
H A D | mempool.c | diff c1a67fefd0546a5552289c65fe31b1d60e64b643 Mon May 04 18:52:20 CDT 2015 Kent Overstreet <kent.overstreet@gmail.com> 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>
|