Re: [PATCH] [12/58] x86_64: Add vDSO for x86-64 withgettimeofday/clock_gettime/getcpu

From: Andrew Morton
Date: Tue Aug 21 2007 - 14:41:18 EST


On Tue, 21 Aug 2007 20:45:43 +0200 Andi Kleen <ak@xxxxxxx> wrote:

> > In the -mm kernel there is some debugging that gets injected into the
> > likely/unlikely macros .. If they get called from userspace it causes a
>
> They should likely define a __likely()/__unlikely() then that doesn't
> do this.
>
> > hang .. We might want to add some new set of macros to specifically
> > denote that they are called from userspace, not just likely/unlikely but
> > all the macros so we don't get mixed usage ..
>
> and add a hunk to change the vDSO code. Note that i386 is not the
> only architecture that has such code.
>

Yes, the simplest fix would be to remove all the troublesome likely/unlikely
calls within that debug patch. I'll take a look at that, see if it fixes
the compile.
-
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/