mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-04 14:29:28 +07:00
uml: fix kernel stack size on x86_64
Force KERNEL_STACK_ORDER to be at least 1 on UML/x86_64, to avoid overflows. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
272c1d21d6
commit
e80ad9b651
@ -278,6 +278,7 @@ config HIGHMEM
|
|||||||
config KERNEL_STACK_ORDER
|
config KERNEL_STACK_ORDER
|
||||||
int "Kernel stack size order"
|
int "Kernel stack size order"
|
||||||
default 1 if 64BIT
|
default 1 if 64BIT
|
||||||
|
range 1 10 if 64BIT
|
||||||
default 0 if !64BIT
|
default 0 if !64BIT
|
||||||
help
|
help
|
||||||
This option determines the size of UML kernel stacks. They will
|
This option determines the size of UML kernel stacks. They will
|
||||||
|
Loading…
Reference in New Issue
Block a user