Messages in this thread | | | Date | Fri, 21 Feb 2014 11:06:30 +0100 | From | Jiri Olsa <> | Subject | Re: [PATCH] ACPI/Processor: Rework processor throttling with work_on_cpu() |
| |
On Fri, Feb 21, 2014 at 01:35:45PM +0800, Lan Tianyu wrote: > acpi_processor_set_throttling() uses set_cpus_allowed_ptr() to make > sure struct acpi_processor->acpi_processor_set_throttling() callback > run on associated cpu. But the function maybe called in a worker which > has been bound to a cpu. The patch is to replace set_cpus_allowed_ptr() > with work_on_cpu().
testing the new patch.. so far so good ;-)
jirka
| |