Messages in this thread | | | Date | Fri, 27 Jun 2008 20:42:23 +0400 | From | Oleg Nesterov <> | Subject | Re: [RFC][PATCH] CPUSets: Move most calls to rebuild_sched_domains() to the workqueue |
| |
On 06/27, Gautham R Shenoy wrote: > > > Using a multithreaded workqueue(kevent here) for this is not such a > > great idea this,since currently we cannot call > > get_online_cpus() from a workitem executed by a multithreaded workqueue. > > > > Can one use a single threaded workqueue here instead ?
Yes, this should help.
But I think you are right, we should just fix this annoying problem,
> > Or, better, I think we can ask Oleg to re-submit the patch he had to make > > get_online_cpus() safe to be called from within the workqueue. It does > > require a special post CPU_DEAD notification, but as it does work the > > last time I checked.
OK, will do on Sunday.
Oleg.
| |