lkml.org 
[lkml]   [2018]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH v3 03/10] PM: Introduce an Energy Model management framework
On Tuesday 19 Jun 2018 at 13:31:06 (+0200), Peter Zijlstra wrote:
> On Mon, May 21, 2018 at 03:24:58PM +0100, Quentin Perret wrote:
> > + read_lock_irqsave(&em_data_lock, flags);
> > + for_each_cpu(cpu, cpu_possible_mask) {
>
> I know we're likely to only use this on small systems, but this pattern
> is a very bad, Please look at alternatives.

Ok, this isn't supposed to be called very often (only once, at boot
time, for Arm for example), but I see your point.

\
 
 \ /
  Last update: 2018-06-19 14:41    [W:0.214 / U:0.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site