[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAG2=9p9xW2u=Cac9BE7sWPCq8zaYs-tmaQbHm-SM2ZhEMH4Tow@mail.gmail.com>
Date: Thu, 15 Oct 2015 11:22:16 +0800
From: Chunyan Zhang <zhang.chunyan@...aro.org>
To: shuahkh@....samsung.com
Cc: linux-api@...r.kernel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] selftests: memfd_test: Revised STACK_SIZE to make it
16-byte aligned
Hello Shuah,
Can this patch be allowed to merge into next realse?
Thanks,
Chunyan
On Thu, Oct 1, 2015 at 3:33 PM, Chunyan Zhang <zhang.chunyan@...aro.org> wrote:
> There is a mandate of 16-byte aligned stack on AArch64 [1], so the
> STACK_SIZE here should also be 16-byte aligned, otherwise we would
> get an error when calling clone().
>
> [1] http://lxr.free-electrons.com/source/arch/arm64/kernel/process.c#L265
>
> Signed-off-by: Chunyan Zhang <zhang.chunyan@...aro.org>
> ---
> tools/testing/selftests/memfd/memfd_test.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/testing/selftests/memfd/memfd_test.c b/tools/testing/selftests/memfd/memfd_test.c
> index 0b9eafb..aa5d3eb 100644
> --- a/tools/testing/selftests/memfd/memfd_test.c
> +++ b/tools/testing/selftests/memfd/memfd_test.c
> @@ -18,7 +18,7 @@
> #include <unistd.h>
>
> #define MFD_DEF_SIZE 8192
> -#define STACK_SIZE 65535
> +#define STACK_SIZE 65536
>
> static int sys_memfd_create(const char *name,
> unsigned int flags)
> --
> 1.9.1
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists