Re: [PATCH v2] Makefile: Add option to disable gcc automatic inlining

2012-10-09 Thread Ezequiel Garcia
Hey Richard, On Sun, Oct 7, 2012 at 7:30 PM, richard -rw- weinberger wrote: > On Sun, Oct 7, 2012 at 9:18 PM, Ezequiel Garcia wrote: >> The new option is CONFIG_CC_DISABLE_AUTO_INLINE and it's >> located at: >> * Kernel hacking >> * Disable gcc automatic inlining > > Can you guarantee that

Re: [PATCH v2] Makefile: Add option to disable gcc automatic inlining

2012-10-07 Thread Ezequiel Garcia
On Sun, Oct 7, 2012 at 7:30 PM, richard -rw- weinberger wrote: > On Sun, Oct 7, 2012 at 9:18 PM, Ezequiel Garcia wrote: >> The new option is CONFIG_CC_DISABLE_AUTO_INLINE and it's >> located at: >> * Kernel hacking >> * Disable gcc automatic inlining > > Can you guarantee that this will sti

Re: [PATCH v2] Makefile: Add option to disable gcc automatic inlining

2012-10-07 Thread Ezequiel Garcia
On Sun, Oct 7, 2012 at 7:21 PM, Andi Kleen wrote: > Ezequiel Garcia writes: > >> The new option is CONFIG_CC_DISABLE_AUTO_INLINE and it's >> located at: >> * Kernel hacking >> * Disable gcc automatic inlining > > You don't state anywhere why you want that? > This is important -if not neces

Re: [PATCH v2] Makefile: Add option to disable gcc automatic inlining

2012-10-07 Thread richard -rw- weinberger
On Sun, Oct 7, 2012 at 9:18 PM, Ezequiel Garcia wrote: > The new option is CONFIG_CC_DISABLE_AUTO_INLINE and it's > located at: > * Kernel hacking > * Disable gcc automatic inlining Can you guarantee that this will still produce a valid kernel? AFAIK we have some functions which have to be

Re: [PATCH v2] Makefile: Add option to disable gcc automatic inlining

2012-10-07 Thread Andi Kleen
Ezequiel Garcia writes: > The new option is CONFIG_CC_DISABLE_AUTO_INLINE and it's > located at: > * Kernel hacking > * Disable gcc automatic inlining You don't state anywhere why you want that? -Andi -- a...@linux.intel.com -- Speaking for myself only -- To unsubscribe from this list:

[PATCH v2] Makefile: Add option to disable gcc automatic inlining

2012-10-07 Thread Ezequiel Garcia
The new option is CONFIG_CC_DISABLE_AUTO_INLINE and it's located at: * Kernel hacking * Disable gcc automatic inlining This option appends this options CFLAGS: -fno-default-inline -fno-inline -fno-inline-small-functions -fno-indirect-inlining -fno-inline-functions-called-once It's still no