Re: [PATCH] x86, acpi: Make acpi_processor_ffh_cstate_probe() use a work item instead of work_on_cpu()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>

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
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux