diff options
| author | Breno Leitao <[email protected]> | 2023-10-05 09:39:21 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-10-18 14:34:16 -0700 |
| commit | c8b90731427814b1e265c3c2bc01c38406963c32 (patch) | |
| tree | ae7fbe712faee6fa026edd3e613c041f2c900918 /tools/perf/scripts/python | |
| parent | afb2d666d0250e707eef3c5947165b414268244b (diff) | |
selftests/mm: export get_free_hugepages()
Patch series "New selftest for mm", v2.
This is a simple test case that reproduces an mm problem[1], where a page
fault races with madvise(), and it is not trivial to reproduce and debug.
This test-case aims to avoid such race problems from happening again,
impacting workloads that leverages external allocators, such as tcmalloc,
jemalloc, etc.
[1] https://lore.kernel.org/all/[email protected]/#r
This patch (of 2):
get_free_hugepages() is helpful for other hugepage tests. Export it to
the common file (vm_util.c) to be reused.
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Breno Leitao <[email protected]>
Reviewed-by: Rik van Riel <[email protected]>
Cc: Mike Kravetz <[email protected]>
Cc: Muchun Song <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions