Re: [PATCH] Built kernel without -O2 option

richard -rw- weinberger
2010-11-29T21:07:32Z

On Mon, Nov 29, 2010 at 10:00 PM, Arnaud Lacombe <lacombar@gmail.com> wrote:
> Hi,
>
> On Mon, Nov 29, 2010 at 3:51 PM, richard -rw- weinberger
> <richard.weinberger@gmail.com> wrote:
>> On Mon, Nov 29, 2010 at 9:52 AM, Américo Wang <xiyou.wangcong@gmail.com> 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