Re: [RFC] kthread_create_on_node is failing to honor the node choice

2015-07-10 Thread Nathan Zimmer
On Thu, Jul 09, 2015 at 03:12:59PM -0700, Andrew Morton wrote: > On Thu, 25 Jun 2015 16:44:13 -0500 Nathan Zimmer wrote: > > > In kthread_create_on_node we set_cpus_allowed to cpu_all_mask > > regardless of what the node is requested. > > This seems incorrect. > > The `node' arg to kthread_crea

Re: [RFC] kthread_create_on_node is failing to honor the node choice

2015-07-10 Thread Mel Gorman
On Thu, Jul 09, 2015 at 03:12:59PM -0700, Andrew Morton wrote: > On Thu, 25 Jun 2015 16:44:13 -0500 Nathan Zimmer wrote: > > > In kthread_create_on_node we set_cpus_allowed to cpu_all_mask > > regardless of what the node is requested. > > This seems incorrect. > > The `node' arg to kthread_creat

Re: [RFC] kthread_create_on_node is failing to honor the node choice

2015-07-09 Thread Andrew Morton
On Thu, 25 Jun 2015 16:44:13 -0500 Nathan Zimmer wrote: > In kthread_create_on_node we set_cpus_allowed to cpu_all_mask > regardless of what the node is requested. > This seems incorrect. The `node' arg to kthread_create_on_node() refers to which node the task_struct and thread_info are allocate

Re: [RFC] kthread_create_on_node is failing to honor the node choice

2015-06-25 Thread Lai Jiangshan
On 06/26/2015 05:44 AM, Nathan Zimmer wrote: > In kthread_create_on_node we set_cpus_allowed to cpu_all_mask > regardless of what the node is requested. > This seems incorrect. > > Signed-off-by: Nathan Zimmer > Cc: Andrew Morton > Cc: Nishanth Aravamudan > Cc: Tejun Heo > Cc: Lai Jiangshan >

[RFC] kthread_create_on_node is failing to honor the node choice

2015-06-25 Thread Nathan Zimmer
In kthread_create_on_node we set_cpus_allowed to cpu_all_mask regardless of what the node is requested. This seems incorrect. Signed-off-by: Nathan Zimmer Cc: Andrew Morton Cc: Nishanth Aravamudan Cc: Tejun Heo Cc: Lai Jiangshan Cc: Mel Gorman Cc: linux-kernel@vger.kernel.org --- kernel/kt