Searched hist:"661 d4f55a79483aee4970a76e3bd9d4cdc74ac79" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | sbitmap.h | diff 661d4f55a79483aee4970a76e3bd9d4cdc74ac79 Sun Nov 22 09:35:46 CST 2020 Pavel Begunkov <asml.silence@gmail.com> sbitmap: remove swap_lock
map->swap_lock protects map->cleared from concurrent modification, however sbitmap_deferred_clear() is already atomically drains it, so it's guaranteed to not loose bits on concurrent sbitmap_deferred_clear().
A one threaded tag heavy test on top of nullbk showed ~1.5% t-put increase, and 3% -> 1% cycle reduction of sbitmap_get() according to perf.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
|
/openbmc/linux/lib/ |
H A D | sbitmap.c | diff 661d4f55a79483aee4970a76e3bd9d4cdc74ac79 Sun Nov 22 09:35:46 CST 2020 Pavel Begunkov <asml.silence@gmail.com> sbitmap: remove swap_lock
map->swap_lock protects map->cleared from concurrent modification, however sbitmap_deferred_clear() is already atomically drains it, so it's guaranteed to not loose bits on concurrent sbitmap_deferred_clear().
A one threaded tag heavy test on top of nullbk showed ~1.5% t-put increase, and 3% -> 1% cycle reduction of sbitmap_get() according to perf.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
|