Re: linux-2.6.28-rc2 regression : oprofile doesnt work anymore ?

From: Eric Dumazet
Date: Fri Nov 07 2008 - 11:51:46 EST


Andi Kleen a écrit :
On Fri, Nov 07, 2008 at 05:12:33PM +0100, Eric Dumazet wrote:
Andi Kleen a écrit :
On Fri, Nov 07, 2008 at 04:13:42PM +0100, Eric Dumazet wrote:
Andi Kleen a écrit :
Can you please test this patch and see if it solves the problem?

Thanks,
-Andi

---

oprofile: Fix p6 counter overflow check

Fix the counter overflow check for CPUs with counter width > 32

I had a similar change in a different patch that I didn't submit
and I didn't notice the problem earlier because it was always
tested together.

Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>

Thanks Andi

Unfortunatly, there is still a freeze of NMIS after a while.
How long is the while?

Less than 20 seconds if fully loaded with "tbench 8" on my 8 cpus machine.

I don't have tbench on the test box, but when I load it with a couple
of while true ; do true ; done loops it also continues sampling.

Are you sure it worked in 2.6.27?

You are right... I got same problem with 2.6.27.4, it seems...

$ grep NMI /proc/interrupts
NMI: 423689 79703 1576236 580137 1405669 1187909 2923037 5163299 Non-maskable interrupts
$ grep NMI /proc/interrupts
NMI: 423689 79703 1576236 580137 1405669 1187909 2923037 5163299 Non-maskable interrupts

I'll try to find the faulty commit.

Thank you


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