Re: [RFC PATCH 0/8]: uninline & uninline

From: Andrew Morton
Date: Sat Feb 23 2008 - 13:56:53 EST


On Sat, 23 Feb 2008 14:15:06 +0100 Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:

> Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> writes:
>
>
> >> -41525 2066 f, 3370 +, 44895 -, diff: -41525 IS_ERR
> >
> > This is a surprise. I expect that the -mm-only
> > profile-likely-unlikely-macros.patch is the cause of this and mainline
> > doesn't have this problem.
>
> Shouldn't they only have overhead when the respective CONFIG is enabled?

yup.

> > If true, then this likely/unlikely bloat has probably spread into a lot of
> > your other results and it all should be redone against mainline, sorry :(
> >
> > (I'm not aware of anyone having used profile-likely-unlikely-macros.patch
> > in quite some time. That's unfortunate because it has turned up some
> > fairly flagrant code deoptimisations)
>
> Is there any reason they couldn't just be merged to mainline?
>
> I think it's a useful facility.

ummm, now why did we made that decision... I think we decided that it's
the sort of thing which one person can run once per few months and that
will deliver its full value. I can maintain it in -mm and we're happy - no
need to add it to mainline. No strong feelings either way really.

It does have the downside that the kernel explodes if someone adds unlikely
or likely to the vdso code and I need to occasionally hunt down new
additions and revert them in that patch. That makes it a bit of a
maintenance burden.

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