Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1247811

Re: [PATCH] selftests: memfd_test: Revised STACK_SIZE to make it 16-byte aligned

From Shuah Khan <shuahkh@osg.samsung.com>
Newsgroups linux.kernel
Subject Re: [PATCH] selftests: memfd_test: Revised STACK_SIZE to make it 16-byte aligned
Date 2015-10-15 16:00 +0200
Message-ID <qjRez-8eO-9@gated-at.bofh.it> (permalink)
References <qeGD7-5vh-1@gated-at.bofh.it> <qjMox-1d8-1@gated-at.bofh.it>
Organization Samsung Open Source Group

Show all headers | View raw


On 10/15/2015 02:44 AM, Arnd Bergmann wrote:
> On Thursday 01 October 2015 15:33:02 Chunyan Zhang 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@linaro.org>
>>
> 
> Acked-by: Arnd Bergmann <arnd@arndb.de>
> 
> This should probably also be marked
> 
> Cc: stable@vger.kernel.org
> 

Thank you both. Now applied to linux-kselftest next for 4.4

-- Shuah

-- 
Shuah Khan
Sr. Linux Kernel Developer
Open Source Innovation Group
Samsung Research America (Silicon Valley)
shuahkh@osg.samsung.com | (970) 217-8978
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: [PATCH] selftests: memfd_test: Revised STACK_SIZE to make it 16-byte aligned Arnd Bergmann <arnd@arndb.de> - 2015-10-15 10:50 +0200
  Re: [PATCH] selftests: memfd_test: Revised STACK_SIZE to make it  16-byte aligned Shuah Khan <shuahkh@osg.samsung.com> - 2015-10-15 16:00 +0200

csiph-web