lkml.org 
[lkml]   [2014]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] workqueue: get the probable node ID from the first CPU of the mask
On Tue, Jul 22, 2014 at 01:04:02PM +0800, Lai Jiangshan wrote:
> + node = cpu_to_node(cpumask_first(pool->attrs->cpumask));

Minor but maybe cpumask_any() is a better fit here?

Thanks.

--
tejun


\
 
 \ /
  Last update: 2014-07-22 18:01    [W:0.061 / U:1.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site