kexec: don't invoke OOM-killer for control page allocation
Subsystems (3)
PATCH 3/8 kexec: don't invoke OOM-killer for control page allocation
If we are unable to find a suitable page when allocating the control page, do not invoke the OOM-killer: killing processes probably isn't going to help.
Acked-by Baoquan He <[email protected]>
Reviewed-by Pratyush Anand <[email protected]>
Signed-off-by Russell King <[email protected]>
--- include/linux/kexec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/kexec.h +1 -1
@@ -41,7 +41,7 @@#endif #ifndef KEXEC_CONTROL_MEMORY_GFP -#define KEXEC_CONTROL_MEMORY_GFP GFP_KERNEL +#define KEXEC_CONTROL_MEMORY_GFP (GFP_KERNEL | __GFP_NORETRY)#endif #ifndef KEXEC_CONTROL_PAGE_SIZE
Signature · 1 line
2.1.0