![]() | |||||||||||||
Messages in this thread |
On 04/02, Gautham R Shenoy wrote:
>
> Currently i386 and x86_64 __cpu_up uses the services of the kevents
> workqueue to bring the cpu up. Change this and use kthread workqueue
> instead which is single_threaded and won't be frozen during
> CPU_HOTPLUG.
>
> [...snip...]
>
> +void kthreadwq_queue_work(struct work_struct *work)
> +{
> + queue_work(helper_wq, work);
> +}
> +
> +int kthreadwq_up()
> +{
> + return (helper_wq != NULL);
> +}
Off-topic question: can't kernel/kmod.c use this workqueue too instead
of its own khelper_wq?
Oleg.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
| ||||||||||||
| Last update: 2007-04-05 14:11 [from the cache] ©2003-2008 | |||||||||||||