Re: [PATCH] remove LOCK_SECTION from x86_64 spin_lock asm

From: Zwane Mwaikambo
Date: Wed Sep 15 2004 - 17:04:17 EST


On Wed, 15 Sep 2004, Andrew Morton wrote:

> Zwane Mwaikambo <zwane@xxxxxxxxxxx> wrote:
> >
> > William spotted this stray bit, LOCK_SECTION isn't used anymore on x86_64.
>
> btw, Ingo and I were scratching heads over an x86_64 oops in curent -linus
> trees.
>
> If you enable profiling and frame pointers, profile_pc() goes splat
> dereferencing the `regs' argument when it decides that the pc refers to a
> lock section. Ingo said `regs' had a value of 0x2, iirc. Consider this a
> bug report ;)

Yeah profile_pc on x86_64 is just broken, i'll have a look.

Thanks,
Zwane

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