arm64: select HAVE_ARCH_VMAP_STACK by default [2/3]
authortao zeng <tao.zeng@amlogic.com>
Thu, 16 Aug 2018 06:42:12 +0000 (02:42 -0400)
committerJianxin Pan <jianxin.pan@amlogic.com>
Tue, 21 Aug 2018 11:15:47 +0000 (04:15 -0700)
PD#171358

On arm64, task stack is 16KB and need order 2 when create a task.
It's easy get a failed allocation result if memory is fragmentation
after long time of using. Using vmap to allocate task stack can help
to avoid this problem.

Change-Id: I3a8a3fbf626eb30e0e547ed0605be02bb3391e5a
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
arch/arm64/Kconfig

index f169eea..f13ccf2 100644 (file)
@@ -111,6 +111,7 @@ config ARM64
        select SPARSE_IRQ
        select SYSCTL_EXCEPTION_TRACE
        select THREAD_INFO_IN_TASK
+       select HAVE_ARCH_VMAP_STACK
        help
          ARM 64-bit (AArch64) Linux support.