[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140722153023.GF13851@htj.dyndns.org>
Date: Tue, 22 Jul 2014 11:30:23 -0400
From: Tejun Heo <tj@...nel.org>
To: Lai Jiangshan <laijs@...fujitsu.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists