lkml.org 
[lkml]   [2015]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH 1/2] x86: mce: kdump: use under_crashdumping to turn off MCE in all CPUs together
Date
> If that is the case, the tolerance level might be the better approach
> after all...

We should also take a look at mce_start():

int cpus = num_online_cpus();

...

/*
* Wait for everyone.
*/
while (atomic_read(&mce_callin) != cpus) {

since offline cpus will still show up to rendezvous ... perhaps "num_present_cpus()"
is the right number??

-Tony
\
 
 \ /
  Last update: 2015-02-24 20:01    [W:0.053 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site