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


Groups > linux.kernel > #1247569 > unrolled thread

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

Started byArnd Bergmann <arnd@arndb.de>
First post2015-10-15 10:50 +0200
Last post2015-10-15 16:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

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

FromArnd Bergmann <arnd@arndb.de>
Date2015-10-15 10:50 +0200
SubjectRe: [PATCH] selftests: memfd_test: Revised STACK_SIZE to make it 16-byte aligned
Message-ID<qjMox-1d8-1@gated-at.bofh.it>
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
--
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/

[toc] | [next] | [standalone]


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

FromShuah Khan <shuahkh@osg.samsung.com>
Date2015-10-15 16:00 +0200
SubjectRe: [PATCH] selftests: memfd_test: Revised STACK_SIZE to make it 16-byte aligned
Message-ID<qjRez-8eO-9@gated-at.bofh.it>
In reply to#1247569
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/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web