RE: [PATCH] remove LOCK_SECTION from x86_64 spin_lock asm

From: Andrew Chew
Date: Wed Sep 15 2004 - 18:25:15 EST


> > 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 ;)

I've been seeing this as well, although I'm pretty sure I have profiling
disabled. Are you sure it isn't the combination of SMP support and
frame pointers that causes this bug to occur? (It looks like
profile_pc() takes on a different implementation only if both CONFIG_SMP
and CONFIG_FRAME_POINTER is defined.)
-
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/