diff options
author | Mark Rutland <mark.rutland@arm.com> | 2017-10-03 18:25:46 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2017-10-04 17:37:33 +0100 |
commit | b02faed15d86f846b0f23f47b92e0782baa873ed (patch) | |
tree | 7dbbaa5b79d23c74241be5acfc4666a2456ca0cf /arch/arm64/mm/proc.S | |
parent | 37f6b42e9c2966b08c7df5cfddc0d73c39cead4a (diff) |
arm64: Use larger stacks when KASAN is selected
AddressSanitizer instrumentation can significantly bloat the stack, and
with GCC 7 this can result in stack overflows at boot time in some
configurations.
We can avoid this by doubling our stack size when KASAN is in use, as is
already done on x86 (and has been since KASAN was introduced).
Regardless of other patches to decrease KASAN's stack utilization,
kernels built with KASAN will always require more stack space than those
built without, and we should take this into account.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/mm/proc.S')
0 files changed, 0 insertions, 0 deletions