Re: [PATCH] force inlining of spinlock ops
From: Ingo Molnar
Date: Tue May 12 2015 - 05:48:52 EST
* Denys Vlasenko <dvlasenk@xxxxxxxxxx> wrote:
> > Also, the inline_for_broken_gcc definition can be made dependent
> > on particular gcc versions, which will allow us to easily keep an
> > eye on the behaviour of later gcc versions.
>
> I've seen it on gcc-4.7.2 and gcc-4.9.2, so this behavior is not
> limited to a narrow range of gcc versions. I'd say by now about half
> of running kernels can easily be affected.
Please do the measurements on x86 defconfig (with OPTIMIZE_FOR_SIZE
and OPTIMIZE_INLINING enabled if necessary), to make sure we are truly
getting a decrease in kernel size on common distro configs as well.
Thanks,
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/