Re: [PATCH] Built kernel without -O2 option

From: richard -rw- weinberger
Date: Mon Nov 29 2010 - 16:07:32 EST


On Mon, Nov 29, 2010 at 10:00 PM, Arnaud Lacombe <lacombar@xxxxxxxxx> wrote:
> Hi,
>
> On Mon, Nov 29, 2010 at 3:51 PM, richard -rw- weinberger
> <richard.weinberger@xxxxxxxxx> wrote:
>> On Mon, Nov 29, 2010 at 9:52 AM, Américo Wang <xiyou.wangcong@xxxxxxxxx> wrote:
>>>> [...]
>>> No, I didn't mean this, I meant some function that have to be inlined
>>> are those who only work when being inlined, e.g. current_text_addr().
>>
>> Can you please explain to me why some functions work only when they are inlined?
>> Is it because of asm() black magic?
>>
> obviously, you do not understand the purpose of this function...

this is why i was asking!

anyway, now i got it.
thanks to peter zijlstra for the kind explanation on #kernelnewbies.

>  - Arnaud
>

--
Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/