Re: [PATCH] Use __attribute__((malloc)) for gcc 3.2

Anton Blanchard
2002-09-29T23:48:38Z

Hi Andi,

> Also added an noinline macro to wrap __attribute__((noinline)). That's
> not used yet. It tells the compiler that it should never inline, which
> may be useful to prevent some awful code generation for those misguided
> folks who use -O3 (gcc often screws up the register allocation of a
> function completely when bigger functions are inlined).

Could you also add an always inline? It would be useful for functions
like context_switch, where we require it to be inlined (otherwise it
falls outside scheduling_functions_{start,end}_here and wchan handling
fails).

Anton