lkml.org 
[lkml]   [2023]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [patch 19/37] x86/smpboot: Switch to hotplug core state synchronization
Date
On Sat, Apr 15 2023 at 08:58, Brian Gerst wrote:
> On Fri, Apr 14, 2023 at 7:44 PM Thomas Gleixner <tglx@linutronix.de> wrote:
>> pr_debug("Before bogomips\n");
>> - for_each_possible_cpu(cpu)
>> - if (cpumask_test_cpu(cpu, cpu_callout_mask))
>> + for_each_possible_cpu(cpu) {
>> + if (cpumask_test_cpu(cpu, cpu_online_mask))
>> bogosum += cpu_data(cpu).loops_per_jiffy;
>
> This should be the same as for_each_online_cpu().

Duh, yes. Obviously...

\
 
 \ /
  Last update: 2023-04-15 23:04    [W:0.093 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site