Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752491AbdHORCn (ORCPT ); Tue, 15 Aug 2017 13:02:43 -0400 Received: from foss.arm.com ([217.140.101.70]:54984 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752318AbdHORCm (ORCPT ); Tue, 15 Aug 2017 13:02:42 -0400 Date: Tue, 15 Aug 2017 18:02:37 +0100 From: Catalin Marinas To: Mark Rutland Cc: Andy Lutomirski , Kees Cook , Ard Biesheuvel , Matt Fleming , "kernel-hardening@lists.openwall.com" , Will Deacon , "linux-kernel@vger.kernel.org" , James Morse , Laura Abbott , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCHv2 02/14] fork: allow arch-override of VMAP stack alignment Message-ID: <20170815170236.yvr3dlfpxcnx3y7u@armageddon.cambridge.arm.com> References: <1502801449-29246-1-git-send-email-mark.rutland@arm.com> <1502801449-29246-3-git-send-email-mark.rutland@arm.com> <20170815163036.GJ6090@leverpostej> <20170815163955.GK6090@leverpostej> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170815163955.GK6090@leverpostej> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 954 Lines: 26 On Tue, Aug 15, 2017 at 05:39:55PM +0100, Mark Rutland wrote: > On Tue, Aug 15, 2017 at 09:33:18AM -0700, Andy Lutomirski wrote: > > On Tue, Aug 15, 2017 at 9:30 AM, Mark Rutland wrote: > > > On Tue, Aug 15, 2017 at 09:09:36AM -0700, Andy Lutomirski wrote: > > > >> This looks okay, but it might make sense to move that to a header file > > >> so THREAD_ALIGN is always available. > > > > > > I was a little worried about breaking things, since arches don't define > > > THREAD_SIZE in a consistent location. > > > > > > Looking again, it looks like those are all transitiviely included into > > > each arch's , so I think I can move this into > > > , which'll have to be added to kernel.fork.c's > > > includes. > > > > > > Are you happy with the below fixup? > > > > LGTM. > > Cool. I've folded that in and pushed the updated branch. I pulled the branch for 4.14. Thanks. -- Catalin