Messages in this thread | | | Date | Mon, 17 Sep 2012 14:37:38 -0700 | From | Tejun Heo <> | Subject | Re: [PATCH] x86, acpi: Make acpi_processor_ffh_cstate_probe() use a work item instead of work_on_cpu() |
| |
On Thu, Aug 23, 2012 at 05:26:43PM -0700, Tejun Heo wrote: > Workqueue is guaranteed to be available on the target CPU by the time > acpi_processor_ffh_cstate_probe() is invoked for it. There's no > reason to use costly work_on_cpu() which involves creating and tearing > down a full kthread on each invocation to execute the probing function > on the target CPU. Use a work item instead. > > Tested and works as expected. > > Signed-off-by: Tejun Heo <tj@kernel.org>
Please forget about this patch (doesn't seem like it has been applied yet). Planning on reimplementing work_on_cpu() using system_wq instead.
Thanks.
-- tejun
| |