[PATCH 0/3] cpu freq: fix problems with work_on_cpu usage in acpi-cpufreq

From: Mike Travis
Date: Fri Jan 16 2009 - 14:13:28 EST



This set of patches improves the work_on_cpu() function to
eliminate circular lock dependencies from occurring by requiring
the caller to insure the cpu does not go offline. This effectively
models the previous behaviour using set_cpus_allowed().

The other fix is to use a separate work queue for work_on_cpu so
it does not clash with kevent items that might already be on the
queue from the same caller.

This fixes the boot up and suspend/resume to disk problems previously
seen.

Signed-off-by: Mike Travis <travis@xxxxxxx>
Cc: Dieter Ries <clip2@xxxxxx>
Cc: Maciej Rutecki <maciej.rutecki@xxxxxxxxx>
Cc: Dave Jones <davej@xxxxxxxxxx>
Cc: <cpufreq@xxxxxxxxxxxxxxx>

--
--
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/