diff options
author | 2024-10-18 22:59:46 +0530 | |
---|---|---|
committer | 2024-10-23 18:53:19 +1100 | |
commit | ff8631cdc23ad42f662a8510c57aeb0555ac3d5f (patch) | |
tree | fdfa88c0d674b5a2a3b64c6a4a13d396619c626e /tools/perf/scripts/python | |
parent | book3s64/hash: Add hash_debug_pagealloc_add_slot() function (diff) | |
download | wireguard-linux-ff8631cdc23ad42f662a8510c57aeb0555ac3d5f.tar.xz wireguard-linux-ff8631cdc23ad42f662a8510c57aeb0555ac3d5f.zip |
book3s64/hash: Add hash_debug_pagealloc_alloc_slots() function
This adds hash_debug_pagealloc_alloc_slots() function instead of open
coding that in htab_initialize(). This is required since we will be
separating the kfence functionality to not depend upon debug_pagealloc.
Now that everything required for debug_pagealloc is under a #ifdef
config. Bring in linear_map_hash_slots and linear_map_hash_count
variables under the same config too.
Signed-off-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://patch.msgid.link/d1d5aabe1e4c693a983e59ccf3de08e3c28c5161.1729271995.git.ritesh.list@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions