Re: perf hw in kexeced kernel broken in tip

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Don Zickus
Date: Wednesday, December 8, 2010 - 7:01 am

On Wed, Dec 08, 2010 at 12:30:20AM +0100, Peter Zijlstra wrote:

Ok, the reboot notifier addresses the kexec problem but doesn't fix it
though (I have to test to confirm that, comments below).  The bios check
should catch those situations (ironically I stumbled upon a machine with
this problem, so I will test your patch with it, though it only uses perf
counter 0).  The kdump problem will still exist, not sure if we care and
perhaps we should document in the changelog that we know kdump is still
broken (unless we do care).


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.


nitpick - you can probably remove the curly braces, no?


Ok, so this shuts down the perf counters on cpu0, but the other cpus are
still running and will fail your new bios check, no?

Privately, I used the above wrapped with for_each_online_cpu(cpu) and it
worked fine for me.

Cheers,
Don

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
perf hw in kexeced kernel broken in tip, Yinghai Lu, (Wed Dec 1, 1:00 am)
Re: perf hw in kexeced kernel broken in tip, Peter Zijlstra, (Wed Dec 1, 4:27 am)
Re: perf hw in kexeced kernel broken in tip, Vivek Goyal, (Wed Dec 1, 9:06 am)
Re: perf hw in kexeced kernel broken in tip, Peter Zijlstra, (Wed Dec 1, 9:11 am)
Re: perf hw in kexeced kernel broken in tip, Vivek Goyal, (Wed Dec 1, 9:23 am)
Re: perf hw in kexeced kernel broken in tip, Peter Zijlstra, (Wed Dec 1, 12:38 pm)
Re: perf hw in kexeced kernel broken in tip, Vivek Goyal, (Wed Dec 1, 12:46 pm)
Re: perf hw in kexeced kernel broken in tip, Peter Zijlstra, (Wed Dec 1, 12:49 pm)
Re: perf hw in kexeced kernel broken in tip, Vivek Goyal, (Wed Dec 1, 12:58 pm)
Re: perf hw in kexeced kernel broken in tip, Peter Zijlstra, (Wed Dec 1, 1:07 pm)
Re: perf hw in kexeced kernel broken in tip, Eric W. Biederman, (Wed Dec 1, 1:41 pm)
Re: perf hw in kexeced kernel broken in tip, Eric W. Biederman, (Wed Dec 1, 2:48 pm)
Re: perf hw in kexeced kernel broken in tip, Don Zickus, (Wed Dec 1, 10:23 pm)
Re: perf hw in kexeced kernel broken in tip, Peter Zijlstra, (Thu Dec 2, 12:34 am)
Re: perf hw in kexeced kernel broken in tip, Don Zickus, (Thu Dec 2, 9:15 am)
Re: perf hw in kexeced kernel broken in tip, Don Zickus, (Tue Dec 7, 2:16 pm)
Re: perf hw in kexeced kernel broken in tip, Peter Zijlstra, (Tue Dec 7, 4:30 pm)
Re: perf hw in kexeced kernel broken in tip, Yinghai Lu, (Tue Dec 7, 5:26 pm)
Re: perf hw in kexeced kernel broken in tip, Peter Zijlstra, (Wed Dec 8, 3:39 am)
Re: perf hw in kexeced kernel broken in tip, Don Zickus, (Wed Dec 8, 7:01 am)
Re: perf hw in kexeced kernel broken in tip, Peter Zijlstra, (Wed Dec 8, 7:20 am)
Re: perf hw in kexeced kernel broken in tip, Peter Zijlstra, (Wed Dec 8, 7:33 am)
Re: perf hw in kexeced kernel broken in tip, Vivek Goyal, (Wed Dec 8, 7:39 am)
Re: perf hw in kexeced kernel broken in tip, Vivek Goyal, (Wed Dec 8, 7:42 am)
Re: perf hw in kexeced kernel broken in tip, Peter Zijlstra, (Wed Dec 8, 7:48 am)
Re: perf hw in kexeced kernel broken in tip, Peter Zijlstra, (Wed Dec 8, 7:59 am)
Re: perf hw in kexeced kernel broken in tip, Vivek Goyal, (Wed Dec 8, 8:02 am)
Re: perf hw in kexeced kernel broken in tip, Peter Zijlstra, (Wed Dec 8, 8:15 am)
Re: perf hw in kexeced kernel broken in tip, Vivek Goyal, (Wed Dec 8, 8:22 am)
Re: perf hw in kexeced kernel broken in tip, Yinghai Lu, (Wed Dec 8, 11:43 am)
Re: perf hw in kexeced kernel broken in tip, Don Zickus, (Wed Dec 8, 12:01 pm)
Re: perf hw in kexeced kernel broken in tip, Yinghai Lu, (Wed Dec 8, 12:05 pm)
Re: perf hw in kexeced kernel broken in tip, Peter Zijlstra, (Wed Dec 8, 12:06 pm)
Re: perf hw in kexeced kernel broken in tip, Peter Zijlstra, (Wed Dec 8, 12:17 pm)
Re: perf hw in kexeced kernel broken in tip, Yinghai Lu, (Wed Dec 8, 12:20 pm)
Re: perf hw in kexeced kernel broken in tip, Yinghai Lu, (Wed Dec 8, 12:20 pm)
Re: perf hw in kexeced kernel broken in tip, Eric W. Biederman, (Wed Dec 8, 2:16 pm)
Re: perf hw in kexeced kernel broken in tip, Don Zickus, (Wed Dec 8, 3:37 pm)
Re: perf hw in kexeced kernel broken in tip, Eric W. Biederman, (Wed Dec 8, 4:20 pm)
Re: perf hw in kexeced kernel broken in tip, Don Zickus, (Wed Dec 8, 9:34 pm)
Re: perf hw in kexeced kernel broken in tip, Don Zickus, (Thu Dec 9, 1:20 pm)
Re: perf hw in kexeced kernel broken in tip, Cyrill Gorcunov, (Thu Dec 9, 1:44 pm)