Re: [PATCH 3/5] workqueue: fixup existing pool->node

2015-01-13 Thread Tejun Heo
On Tue, Jan 13, 2015 at 03:08:28PM +0800, Lai Jiangshan wrote: > On 12/26/2014 04:14 AM, Tejun Heo wrote: > > On Mon, Dec 15, 2014 at 09:23:49AM +0800, Lai Jiangshan wrote: > >> The pwqs of the old node's cpumask do be discarded. But the pools of the > >> old > >> node's cpumask maybe recycle.

Re: [PATCH 3/5] workqueue: fixup existing pool-node

2015-01-13 Thread Tejun Heo
On Tue, Jan 13, 2015 at 03:08:28PM +0800, Lai Jiangshan wrote: On 12/26/2014 04:14 AM, Tejun Heo wrote: On Mon, Dec 15, 2014 at 09:23:49AM +0800, Lai Jiangshan wrote: The pwqs of the old node's cpumask do be discarded. But the pools of the old node's cpumask maybe recycle. For example, a

Re: [PATCH 3/5] workqueue: fixup existing pool->node

2015-01-12 Thread Lai Jiangshan
On 12/26/2014 04:14 AM, Tejun Heo wrote: > On Mon, Dec 15, 2014 at 09:23:49AM +0800, Lai Jiangshan wrote: >> The pwqs of the old node's cpumask do be discarded. But the pools of the old >> node's cpumask maybe recycle. For example, a new workqueue's affinity is set >> to >> the old node's cpumask

Re: [PATCH 3/5] workqueue: fixup existing pool-node

2015-01-12 Thread Lai Jiangshan
On 12/26/2014 04:14 AM, Tejun Heo wrote: On Mon, Dec 15, 2014 at 09:23:49AM +0800, Lai Jiangshan wrote: The pwqs of the old node's cpumask do be discarded. But the pools of the old node's cpumask maybe recycle. For example, a new workqueue's affinity is set to the old node's cpumask before

Re: [PATCH 3/5] workqueue: fixup existing pool->node

2014-12-25 Thread Tejun Heo
On Mon, Dec 15, 2014 at 09:23:49AM +0800, Lai Jiangshan wrote: > The pwqs of the old node's cpumask do be discarded. But the pools of the old > node's cpumask maybe recycle. For example, a new workqueue's affinity is set > to > the old node's cpumask before the pool is dead. Any old pool can long

Re: [PATCH 3/5] workqueue: fixup existing pool-node

2014-12-25 Thread Tejun Heo
On Mon, Dec 15, 2014 at 09:23:49AM +0800, Lai Jiangshan wrote: The pwqs of the old node's cpumask do be discarded. But the pools of the old node's cpumask maybe recycle. For example, a new workqueue's affinity is set to the old node's cpumask before the pool is dead. Any old pool can long

Re: [PATCH 3/5] workqueue: fixup existing pool->node

2014-12-14 Thread Lai Jiangshan
On 12/13/2014 01:25 AM, Tejun Heo wrote: > On Fri, Dec 12, 2014 at 06:19:53PM +0800, Lai Jiangshan wrote: >> Yasuaki Ishimatsu hit a bug when the numa mapping between CPU and node >> is changed. And the previous path fixup wq_numa_possible_cpumask. >> (See more information form the changelog of

Re: [PATCH 3/5] workqueue: fixup existing pool-node

2014-12-14 Thread Lai Jiangshan
On 12/13/2014 01:25 AM, Tejun Heo wrote: On Fri, Dec 12, 2014 at 06:19:53PM +0800, Lai Jiangshan wrote: Yasuaki Ishimatsu hit a bug when the numa mapping between CPU and node is changed. And the previous path fixup wq_numa_possible_cpumask. (See more information form the changelog of that

Re: [PATCH 3/5] workqueue: fixup existing pool->node

2014-12-12 Thread Tejun Heo
On Fri, Dec 12, 2014 at 06:19:53PM +0800, Lai Jiangshan wrote: > Yasuaki Ishimatsu hit a bug when the numa mapping between CPU and node > is changed. And the previous path fixup wq_numa_possible_cpumask. > (See more information form the changelog of that patch) > > After wq_numa_possible_cpumask

[PATCH 3/5] workqueue: fixup existing pool->node

2014-12-12 Thread Lai Jiangshan
Yasuaki Ishimatsu hit a bug when the numa mapping between CPU and node is changed. And the previous path fixup wq_numa_possible_cpumask. (See more information form the changelog of that patch) After wq_numa_possible_cpumask was updated, the new pool->node will be correct, but the existing pools

[PATCH 3/5] workqueue: fixup existing pool-node

2014-12-12 Thread Lai Jiangshan
Yasuaki Ishimatsu hit a bug when the numa mapping between CPU and node is changed. And the previous path fixup wq_numa_possible_cpumask. (See more information form the changelog of that patch) After wq_numa_possible_cpumask was updated, the new pool-node will be correct, but the existing pools

Re: [PATCH 3/5] workqueue: fixup existing pool-node

2014-12-12 Thread Tejun Heo
On Fri, Dec 12, 2014 at 06:19:53PM +0800, Lai Jiangshan wrote: Yasuaki Ishimatsu hit a bug when the numa mapping between CPU and node is changed. And the previous path fixup wq_numa_possible_cpumask. (See more information form the changelog of that patch) After wq_numa_possible_cpumask was