From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753947Ab2IMJRV (ORCPT ); Thu, 13 Sep 2012 05:17:21 -0400 Received: from mail-iy0-f174.google.com ([209.85.210.174]:49327 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752141Ab2IMJQk (ORCPT ); Thu, 13 Sep 2012 05:16:40 -0400 MIME-Version: 1.0 In-Reply-To: <50518872.9030604@suse.cz> References: <1347137279-17568-1-git-send-email-elezegarcia@gmail.com> <50518872.9030604@suse.cz> Date: Thu, 13 Sep 2012 06:16:39 -0300 Message-ID: Subject: Re: [PATCH 01/10] Makefile: Add option CONFIG_DISABLE_GCC_AUTOMATIC_INLINING From: Ezequiel Garcia To: Michal Marek Cc: David Rientjes , sam@ravnborg.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 13, 2012 at 4:17 AM, Michal Marek wrote: > Dne 13.9.2012 02:30, Ezequiel Garcia napsal(a): >> Hi, >> >> On Sun, Sep 9, 2012 at 6:25 PM, David Rientjes wrote: >>> On Sat, 8 Sep 2012, Ezequiel Garcia wrote: >>> >>>> diff --git a/Makefile b/Makefile >>>> index ddf5be9..df6045a 100644 >>>> --- a/Makefile >>>> +++ b/Makefile >>>> @@ -561,6 +561,10 @@ else >>>> KBUILD_CFLAGS += -O2 >>>> endif >>>> >>>> +ifdef CONFIG_DISABLE_GCC_AUTOMATIC_INLINING >>>> +KBUILD_CFLAGS += -fno-inline-small-functions >>> >>> This isn't the only option that controls automatic inlining of functions, >>> see indirect-inlining, inline-functions, and inline-functions-called-once. >>> >> >> I'll check about this gcc options and re-send, renamed as: >> CONFIG_DISABLE_CC_AUTOMATIC_INLINING > > Please name it CONFIG_CC_ > Yeah, that's what I meant, sorry. Ezequiel. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx195.postini.com [74.125.245.195]) by kanga.kvack.org (Postfix) with SMTP id 504916B013B for ; Thu, 13 Sep 2012 05:16:40 -0400 (EDT) Received: by iec9 with SMTP id 9so5748669iec.14 for ; Thu, 13 Sep 2012 02:16:39 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <50518872.9030604@suse.cz> References: <1347137279-17568-1-git-send-email-elezegarcia@gmail.com> <50518872.9030604@suse.cz> Date: Thu, 13 Sep 2012 06:16:39 -0300 Message-ID: Subject: Re: [PATCH 01/10] Makefile: Add option CONFIG_DISABLE_GCC_AUTOMATIC_INLINING From: Ezequiel Garcia Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org List-ID: To: Michal Marek Cc: David Rientjes , sam@ravnborg.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org On Thu, Sep 13, 2012 at 4:17 AM, Michal Marek wrote: > Dne 13.9.2012 02:30, Ezequiel Garcia napsal(a): >> Hi, >> >> On Sun, Sep 9, 2012 at 6:25 PM, David Rientjes wrote: >>> On Sat, 8 Sep 2012, Ezequiel Garcia wrote: >>> >>>> diff --git a/Makefile b/Makefile >>>> index ddf5be9..df6045a 100644 >>>> --- a/Makefile >>>> +++ b/Makefile >>>> @@ -561,6 +561,10 @@ else >>>> KBUILD_CFLAGS += -O2 >>>> endif >>>> >>>> +ifdef CONFIG_DISABLE_GCC_AUTOMATIC_INLINING >>>> +KBUILD_CFLAGS += -fno-inline-small-functions >>> >>> This isn't the only option that controls automatic inlining of functions, >>> see indirect-inlining, inline-functions, and inline-functions-called-once. >>> >> >> I'll check about this gcc options and re-send, renamed as: >> CONFIG_DISABLE_CC_AUTOMATIC_INLINING > > Please name it CONFIG_CC_ > Yeah, that's what I meant, sorry. Ezequiel. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org