Re: [PATCH][2.6] Completely out of line spinlocks / i386

From: Zwane Mwaikambo
Date: Wed Aug 11 2004 - 20:12:25 EST


On Thu, 12 Aug 2004, Keith Owens wrote:

> Tweak the profile code to detect that the instruction pointer is in the
> out of line spinlock code and replace the ip with the caller's ip. We
> already do that for ia64, where the out of line spinlock code is a big
> win. A kdb backtrace on an ia64 contended lock will even decode the
> address of the lock, which is only possible because the lock address is
> in a known location for this case.

Yes this was one of the downsides of using the code, same thing would have
to be done for oprofile. I'll have to give this a go.

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/