aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/list_debug.c
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2024-12-10 11:18:32 +0100
committerAlexander Gordeev <agordeev@linux.ibm.com>2025-01-26 17:23:59 +0100
commit490a5e99ead57b16045a8e968fd8bc5fdcbfc90c (patch)
tree0f1d4b72f60c968c89ec81a534c9b8deca5792b0 /lib/list_debug.c
parents390/boot: Add physmem_alloc() (diff)
downloadwireguard-linux-490a5e99ead57b16045a8e968fd8bc5fdcbfc90c.tar.xz
wireguard-linux-490a5e99ead57b16045a8e968fd8bc5fdcbfc90c.zip
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 'lib/list_debug.c')
0 files changed, 0 insertions, 0 deletions