Re: [discuss] Re: 2.6.19-rc5: known regressions (v3)

From: William Cohen
Date: Thu Nov 16 2006 - 10:36:51 EST


Andi Kleen wrote:
On Thursday 16 November 2006 06:05, Andrew Morton wrote:

On Thu, 16 Nov 2006 04:21:09 +0100
Andi Kleen <ak@xxxxxxx> wrote:


If it's really true that oprofile is simply busted then that's a serious
problem and we should find some way of unbusting it. If that means just
adding a dummy "0" entry which always returns zero or something like that,
then fine.

That could be probably done.

I'm told that this is exactly what it was doing before it got changed.


Hmm, ok perhaps that can be arranged again.

The trouble is that I want to use this performance counter for
other purposes too, so we would run into trouble again if oprofile keeps stealing it.

What other purposes do you see the performance counters useful for? To collect information on process characteristics so they can be scheduled more efficiently?

Is this going to require sharing the nmi interrupt and knowing which perfcounter register triggered the interrupt to get the correct action? Currently the oprofile interrupt handler assumes any performance monitoring counter it sees overflowing is something it should count.

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