Re: perf hw in kexeced kernel broken in tip

From: Eric W. Biederman
Date: Wed Dec 08 2010 - 18:20:49 EST


Don Zickus <dzickus@xxxxxxxxxx> writes:

> On Wed, Dec 08, 2010 at 03:59:16PM +0100, Peter Zijlstra wrote:
>> On Wed, 2010-12-08 at 15:20 +0100, Peter Zijlstra wrote:
>>
>> > > I wonder if you should reverse these checks. If the bios has the perf
>> > > counter enabled, there might be a high chance that it fails the first
>> > > check and never gets to the actually bios checks.
>> >
>> > Ah, good point.
>>
>> Something like so..
>
> This seems to work correctly on my Nehalem and broken bios machines during
> boot and kexec. As expected it fails during kdump. My p4 box failed
> during kexec for some reason. But p4 has other issues.

Does the kdump kernel still boot?

It looks like it should I just want to double check.

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