[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1317374997.19415.16.camel@twins>
Date: Fri, 30 Sep 2011 11:29:57 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Tejun Heo <htejun@...il.com>
Cc: Steven Rostedt <rostedt@...dmis.org>,
LKML <linux-kernel@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH] sched/kthread: Complain loudly when others violate our
flags
On Fri, 2011-09-30 at 10:34 +0200, Peter Zijlstra wrote:
> Introduce a new WQ_NON_AFFINE flag that indicates a per-cpu workqueue
> will not respect cpu affinity and use this to migrate all its pending
> works to whatever cpu is doing cpu-down.
Forgot to mention, it will also dis-allow queue_work_on() usage for
these workqueues, since that API implies you actually care what cpu the
work runs on, which cannot be guaranteed.
--
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