Re: [PATCH 2/3] work_on_cpu: Use our own workqueue.

From: Ingo Molnar
Date: Mon Jan 26 2009 - 17:06:21 EST



* Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> Well it turns out that I was having a less-than-usually-senile moment:
>
> : implement flush_work()

> Why isn't that working in this case??

how would that work in this case? We defer processing into the workqueue
exactly because we want its per-CPU properties. We want work_on_cpu() to
be done in the workqueue context on the CPUs that were specified, not in
the local CPU context.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/