aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorYunsheng Lin <[email protected]>2022-01-07 17:00:42 +0800
committerJakub Kicinski <[email protected]>2022-01-09 16:45:27 -0800
commit07b17f0f7485bcbc7902cf6f56a89f5b716344bd (patch)
tree69c4c833f9654cc50f80a7bd382cc33ba672a626 /lib/mpi/mpi-mod.c
parent6738fc77ffa2575f38b88d85583450184d59ed94 (diff)
page_pool: remove spinlock in page_pool_refill_alloc_cache()
As page_pool_refill_alloc_cache() is only called by __page_pool_get_cached(), which assumes non-concurrent access as suggested by the comment in __page_pool_get_cached(), and ptr_ring allows concurrent access between consumer and producer, so remove the spinlock in page_pool_refill_alloc_cache(). Signed-off-by: Yunsheng Lin <[email protected]> Acked-by: Jesper Dangaard Brouer <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions