Re: [PATCH] rcupdate: move synchronize_sched() back to rcupdate.c

From: Lai Jiangshan
Date: Tue Nov 04 2008 - 20:54:22 EST


Ingo Molnar wrote:
> * Lai Jiangshan <laijs@xxxxxxxxxxxxxx> 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
>
>
>



--
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/