summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorVlastimil Babka <vbabka@suse.cz>2021-05-11 14:05:22 +0200
committerVlastimil Babka <vbabka@suse.cz>2021-09-04 01:12:20 +0200
commit75c8ff281d7a6faa650bb9b32052f3ee1b5f8e83 (patch)
treefe8f97adf41f9e93dfcd74d4b1925ce3bddf3b7a /tools/perf/scripts/python/export-to-postgresql.py
parent53a0de06e50acb372c75d87fcc72ddfdf4a060ee (diff)
mm, slub: return slab page from get_partial() and set c->page afterwards
The function get_partial() finds a suitable page on a partial list, acquires and returns its freelist and assigns the page pointer to kmem_cache_cpu. In later patch we will need more control over the kmem_cache_cpu.page assignment, so instead of passing a kmem_cache_cpu pointer, pass a pointer to a pointer to a page that get_partial() can fill and the caller can assign the kmem_cache_cpu.page pointer. No functional change as all of this still happens with disabled IRQs. Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions