aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2023-05-25 14:57:07 +0200
committerAndrew Morton <[email protected]>2023-06-09 16:25:41 -0700
commit43d7650234c62201ba3ca5b731226b0b189989a8 (patch)
tree39e61f957966f409b0010dc8c80ea026f975dcc5 /tools/perf/scripts/python/export-to-postgresql.py
parenta09fad96ffb1d0da007283727235a03b813f989b (diff)
mm/vmalloc: check free space in vmap_block lockless
vb_alloc() unconditionally locks a vmap_block on the free list to check the free space. This can be done locklessly because vmap_block::free never increases, it's only decreased on allocations. Check the free space lockless and only if that succeeds, recheck under the lock. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Uladzislau Rezki (Sony) <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Lorenzo Stoakes <[email protected]> Reviewed-by: Baoquan He <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions