aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorVasily Gorbik <[email protected]>2021-10-14 11:33:45 +0000
committerHeiko Carstens <[email protected]>2021-11-16 11:29:18 +0000
commit420f48f636b98fd685f44a3acc4c0a7c0840910d (patch)
tree5b13b982feda84cc8ff77445576f380c97c95f76 /net/unix/af_unix.c
parentLinux 5.16-rc1 (diff)
downloadkernel-420f48f636b98fd685f44a3acc4c0a7c0840910d.tar.gz
kernel-420f48f636b98fd685f44a3acc4c0a7c0840910d.zip
s390/setup: avoid reserving memory above identity mapping
Such reserved memory region, if not cleaned up later causes problems when memblock_free_all() is called to release free pages to the buddy allocator and those reserved regions are carried over to reserve_bootmem_region() which marks the pages as PageReserved. Instead use memblock_set_current_limit() to make sure memblock allocations do not go over identity mapping (which could happen when "mem=" option is used or during kdump). Cc: [email protected] Fixes: 73045a08cf55 ("s390: unify identity mapping limits handling") Reported-by: Gerald Schaefer <[email protected]> Reviewed-by: Heiko Carstens <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]> Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions