diff options
author | Vasily Gorbik <gor@linux.ibm.com> | 2024-12-10 11:18:32 +0100 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2025-01-26 17:23:59 +0100 |
commit | 490a5e99ead57b16045a8e968fd8bc5fdcbfc90c (patch) | |
tree | 0f1d4b72f60c968c89ec81a534c9b8deca5792b0 /scripts/lib/kdoc/kdoc_parser.py | |
parent | aeb4358a52365269e6ca658505a6410ed85570b2 (diff) |
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 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions