aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorRitesh Harjani (IBM) <ritesh.list@gmail.com>2024-10-18 22:59:53 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2024-10-23 18:53:20 +1100
commit8846d9683884fa9ef5bb160011a748701216e186 (patch)
tree226b2c90f695b14ea421064e9a05458a06285b36 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentbook3s64/hash: Disable kfence if not early init (diff)
downloadwireguard-linux-8846d9683884fa9ef5bb160011a748701216e186.tar.xz
wireguard-linux-8846d9683884fa9ef5bb160011a748701216e186.zip
book3s64/hash: Early detect debug_pagealloc size requirement
Add hash_supports_debug_pagealloc() helper to detect whether debug_pagealloc can be supported on hash or not. This checks for both, whether debug_pagealloc config is enabled and the linear map should fit within rma_size/4 region size. This can then be used early during htab_init_page_sizes() to decide linear map pagesize if hash supports either debug_pagealloc or kfence. Signed-off-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://patch.msgid.link/c33c6691b2a2cf619cc74ac100118ca4dbf21a48.1729271995.git.ritesh.list@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions