[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130331190633.GC7533@htj.dyndns.org>
Date: Sun, 31 Mar 2013 12:06:33 -0700
From: Tejun Heo <tj@...nel.org>
To: Lai Jiangshan <laijs@...fujitsu.com>
Cc: Lai Jiangshan <eag0628@...il.com>, Jens Axboe <axboe@...nel.dk>,
Jan Kara <jack@...e.cz>, fengguang.wu@...el.com,
jmoyer@...hat.com, zab@...hat.com,
LKML <linux-kernel@...r.kernel.org>,
Herbert Xu <herbert@...dor.apana.org.au>,
"David S. Miller" <davem@...emloft.net>,
linux-crypto@...r.kernel.org
Subject: Re: [PATCH v4 13/14] workqueue: implement NUMA affinity for unbound
workqueues
Hello, Lai.
On Sun, Mar 31, 2013 at 01:23:46AM +0800, Lai Jiangshan wrote:
> But for unbound wq when cpuhotplug
> w/o NUMA affinity, works are always in the cpus if there is online cpu in wq's cpumask
> w/ NUMA affinity, ......... NOT always ........ even ....................................
Yeah, this is rather unfortunate but cpumask for unbound workqueue is
a completely new thing anyway and I think providing a similar
guarantee as per-cpu should be enough. Things are much simpler that
way and requiring users which depend on hard affinity to take care of
flushing is reasonable enough and in line with how workqueue has
traditionally been working.
> > Workqueue's affinity guarantee is very specific - the work item owner is
> > responsible for flushing the work item during CPU DOWN if it wants
> > to guarantee affinity over full execution.
>
> Could you add the comments and add Reviewed-by: Lai Jiangshan <laijs@...fujitsu.com>
> for the patchset?
Sure thing.
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