diff options
author | Yunsheng Lin <linyunsheng@huawei.com> | 2022-01-07 12:00:42 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-01-10 03:45:27 +0300 |
commit | 07b17f0f7485bcbc7902cf6f56a89f5b716344bd (patch) | |
tree | 69c4c833f9654cc50f80a7bd382cc33ba672a626 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 6738fc77ffa2575f38b88d85583450184d59ed94 (diff) | |
download | linux-07b17f0f7485bcbc7902cf6f56a89f5b716344bd.tar.xz |
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 <linyunsheng@huawei.com>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Link: https://lore.kernel.org/r/20220107090042.13605-1-linyunsheng@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions