Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753302AbdHOQlI (ORCPT ); Tue, 15 Aug 2017 12:41:08 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:54772 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753168AbdHOQlH (ORCPT ); Tue, 15 Aug 2017 12:41:07 -0400 Date: Tue, 15 Aug 2017 17:39:55 +0100 From: Mark Rutland To: Andy Lutomirski Cc: "linux-arm-kernel@lists.infradead.org" , Ard Biesheuvel , Catalin Marinas , James Morse , Laura Abbott , "linux-kernel@vger.kernel.org" , Matt Fleming , Will Deacon , "kernel-hardening@lists.openwall.com" , Kees Cook Subject: Re: [PATCHv2 02/14] fork: allow arch-override of VMAP stack alignment Message-ID: <20170815163955.GK6090@leverpostej> References: <1502801449-29246-1-git-send-email-mark.rutland@arm.com> <1502801449-29246-3-git-send-email-mark.rutland@arm.com> <20170815163036.GJ6090@leverpostej> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 815 Lines: 23 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. Thanks, Mark.