Re: [PATCH] workqueue: respect isolated cpus when queueing an unbound work

2017-10-21 Thread Tejun Heo
Hello, On Sat, Oct 21, 2017 at 07:13:33PM +0300, Tal Shorer wrote: > > Do we have a consistent behavior around this? Are there different > > examples where isolcpus interact with other dynamically configurable > > parameters? > > > sched_setaffinity comes to mind, which obviously bypasses isolcpu

Re: [PATCH] workqueue: respect isolated cpus when queueing an unbound work

2017-10-21 Thread Tal Shorer
On Sat, Oct 21, 2017 at 7:04 PM, Tejun Heo wrote: > On Sat, Oct 21, 2017 at 07:02:21PM +0300, Tal Shorer wrote: >> On Sat, Oct 21, 2017 at 6:49 PM, Tejun Heo wrote: >> > On Fri, Oct 20, 2017 at 12:44:06AM +0300, Tal Shorer wrote: >> >> Initialize wq_unbound_cpumask to exclude cpus that were isola

Re: [PATCH] workqueue: respect isolated cpus when queueing an unbound work

2017-10-21 Thread Tejun Heo
On Fri, Oct 20, 2017 at 12:44:06AM +0300, Tal Shorer wrote: > Initialize wq_unbound_cpumask to exclude cpus that were isolated by > the cmdline's isolcpus parameter. > > Signed-off-by: Tal Shorer > --- > kernel/workqueue.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a

[PATCH] workqueue: respect isolated cpus when queueing an unbound work

2017-10-19 Thread Tal Shorer
Initialize wq_unbound_cpumask to exclude cpus that were isolated by the cmdline's isolcpus parameter. Signed-off-by: Tal Shorer --- kernel/workqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/workqueue.c b/kernel/workqueue.c index ca937b0..25b351d 100644 --- a/k