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 X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F1A6C43441 for ; Mon, 12 Nov 2018 11:22:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 372AD22419 for ; Mon, 12 Nov 2018 11:22:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 372AD22419 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729171AbeKLVPl (ORCPT ); Mon, 12 Nov 2018 16:15:41 -0500 Received: from ozlabs.org ([203.11.71.1]:39321 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728302AbeKLVPk (ORCPT ); Mon, 12 Nov 2018 16:15:40 -0500 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 42tpJl6h4rz9s1x; Mon, 12 Nov 2018 22:22:47 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au From: Michael Ellerman To: Masahiro Yamada , Ingo Molnar , Thomas Gleixner , x86@kernel.org Cc: Richard Weinberger , linuxppc-dev@lists.ozlabs.org, Masahiro Yamada , "H. Peter Anvin" , Borislav Petkov , Benjamin Herrenschmidt , linux-kernel@vger.kernel.org, Paul Mackerras Subject: Re: [PATCH 2/2] x86, powerpc: remove -funit-at-a-time compiler option entirely In-Reply-To: <1541990120-9643-3-git-send-email-yamada.masahiro@socionext.com> References: <1541990120-9643-1-git-send-email-yamada.masahiro@socionext.com> <1541990120-9643-3-git-send-email-yamada.masahiro@socionext.com> Date: Mon, 12 Nov 2018 22:22:46 +1100 Message-ID: <87k1lia6bd.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Masahiro Yamada writes: > GCC 4.6 manual says: > > -funit-at-a-time > This option is left for compatibility reasons. -funit-at-a-time has > no effect, while -fno-unit-at-a-time implies -fno-toplevel-reorder > and -fno-section-anchors. > Enabled by default. > > Signed-off-by: Masahiro Yamada > --- > > arch/powerpc/Makefile | 4 ---- > arch/x86/Makefile | 4 ---- > arch/x86/Makefile.um | 5 ----- > 3 files changed, 13 deletions(-) > > diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile > index 8a2ce14..854199c 100644 > --- a/arch/powerpc/Makefile > +++ b/arch/powerpc/Makefile > @@ -228,10 +228,6 @@ KBUILD_CFLAGS += $(call cc-option,-mno-vsx) > KBUILD_CFLAGS += $(call cc-option,-mno-spe) > KBUILD_CFLAGS += $(call cc-option,-mspe=no) > > -# Enable unit-at-a-time mode when possible. It shrinks the > -# kernel considerably. > -KBUILD_CFLAGS += $(call cc-option,-funit-at-a-time) > - Thanks for cleaning it up. Acked-by: Michael Ellerman cheers