diff options
author | Vasily Gorbik <gor@linux.ibm.com> | 2024-12-10 13:18:32 +0300 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2025-01-26 19:23:59 +0300 |
commit | 490a5e99ead57b16045a8e968fd8bc5fdcbfc90c (patch) | |
tree | 0f1d4b72f60c968c89ec81a534c9b8deca5792b0 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | aeb4358a52365269e6ca658505a6410ed85570b2 (diff) | |
download | linux-490a5e99ead57b16045a8e968fd8bc5fdcbfc90c.tar.xz |
s390/boot: Allow KASAN mapping to fallback to small pages
For KASAN shadow mappings, switch from physmem_alloc_or_die() to
physmem_alloc() and return INVALID_PHYS_ADDR on allocation failure. This
allows gracefully falling back from large pages to smaller pages (1MB
or 4KB) if the allocation of 2GB size/aligned pages cannot be fulfilled.
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions