Messages in this thread | | | Date | Wed, 05 Nov 2008 09:51:20 +0800 | From | Lai Jiangshan <> | Subject | Re: [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 > > >
| |