lkml.org 
[lkml]   [2008]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] rcupdate: move synchronize_sched() back to rcupdate.c
Ingo Molnar wrote:
> * Lai Jiangshan <laijs@cn.fujitsu.com> wrote:
>
>> this fix will increase about several hundred bytes to the kernel
>> text for rcuclassic.
>
> hm, why is that, and is it true for the full vmlinux as well, for a
> reasonably large .config?
>
> Do you get the size increase even if these two are enabled:
>
> CONFIG_CC_OPTIMIZE_FOR_SIZE=y
> CONFIG_OPTIMIZE_INLINING=y
>
> ?

almost the same, a half of bytes added to kernel text is from this line:
EXPORT_SYMBOL_GPL(synchronize_sched);

>
> i'd expect the opposite or same-size: given that an ugly
> quasi-inlining macro is replaced with a shared, out of line function.
>
> Ingo
>
>
>





\
 
 \ /
  Last update: 2008-11-05 02:57    [W:0.039 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site