From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CEBADC6FA82 for ; Mon, 12 Sep 2022 19:44:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229565AbiILToq (ORCPT ); Mon, 12 Sep 2022 15:44:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229520AbiILTon (ORCPT ); Mon, 12 Sep 2022 15:44:43 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0199A6304 for ; Mon, 12 Sep 2022 12:44:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=nb8rEReRfkZDeENxQWTBlPf4FsiI6l6ZHGQyc4I5xZw=; b=dtMXvc014H+jCYo65RYLLNId2n r5Ma3pCGbi5brY/StaScrqieuibtjIBPu6NPWz6gz5VRtvTt3pcWvbLLIFdMml226t9xwJUqwxHHV Wq5akLA8yAhXUu4zpqNSfIxDAj87dxCUDckf6W8gj5xDKychTkqErcALWgzGyTOckWm9UYRviIh4b 3Iz0uldIittkaUx0P8AQPsGPYvSQybEOscBjrGW7c/xGBks5mYTwTmG1tcWZAy+Vtg9P/L0CLTr5H CYwVoMWoSLkPk4Cwoxf7lJ+O2Iil6XPk7+qYK7jOMbhc6u00CKFEKgeqnXKJw4pzOnbQ09I0CXAgr mF5eWTmw==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=worktop.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oXpLj-00GDdx-V3; Mon, 12 Sep 2022 19:44:08 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id 8026A980269; Mon, 12 Sep 2022 21:44:05 +0200 (CEST) Date: Mon, 12 Sep 2022 21:44:05 +0200 From: Peter Zijlstra To: Linus Torvalds Cc: Thomas Gleixner , linux-kernel@vger.kernel.org, x86@kernel.org, Tim Chen , Josh Poimboeuf , Andrew Cooper , Pawan Gupta , Johannes Wikner , Alyssa Milburn , Jann Horn , "H.J. Lu" , Joao Moreira , Joseph Nuzman , Steven Rostedt , Juergen Gross , Masami Hiramatsu , Alexei Starovoitov , Daniel Borkmann , K Prateek Nayak , Eric Dumazet Subject: Re: [PATCH v2 08/59] x86/build: Ensure proper function alignment Message-ID: References: <20220902130625.217071627@infradead.org> <20220902130947.190618587@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 12, 2022 at 10:09:38AM -0400, Linus Torvalds wrote: > The patch looks sane, the only thing I worry a bit about is > > > +config FUNCTION_ALIGNMENT > > + int > > + default 64 if FUNCTION_ALIGNMENT_64B > .. > > + default 0 > > Is '0' even a valid value then for things like At the time I thought to have read that 0 alignment effectively no-ops the statement, but now I can't find it in a hurry, happy to make it default to 4.