Commit 9dade170 authored by Heiko Carstens's avatar Heiko Carstens
Browse files

s390/kexec: add __GFP_NORETRY to KEXEC_CONTROL_MEMORY_GFP



Avoid invoking the OOM-killer when allocating the control page. This
is the s390 variant of commit dc5cccac ("kexec: don't invoke
OOM-killer for control page allocation").

Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
parent 13e282cc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@
#define KEXEC_CONTROL_MEMORY_LIMIT (1UL<<31)

/* Allocate control page with GFP_DMA */
#define KEXEC_CONTROL_MEMORY_GFP GFP_DMA
#define KEXEC_CONTROL_MEMORY_GFP (GFP_DMA | __GFP_NORETRY)

/* Maximum address we can use for the crash control pages */
#define KEXEC_CRASH_CONTROL_MEMORY_LIMIT (-1UL)