Thread (27 messages) 27 messages, 6 authors, 2012-09-26

Re: [PATCH 01/10] Makefile: Add option CONFIG_DISABLE_GCC_AUTOMATIC_INLINING

From: Michal Marek <hidden>
Date: 2012-09-13 07:17:26
Also in: lkml

Dne 13.9.2012 02:30, Ezequiel Garcia napsal(a):
Hi,

On Sun, Sep 9, 2012 at 6:25 PM, David Rientjes [off-list ref] wrote:
quoted
On Sat, 8 Sep 2012, Ezequiel Garcia wrote:
quoted
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_<something>

Michal

--
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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help