Skip to content

CPU-Hotplug: Fix CPU-Hotplug <--> cpufreq locking dependency

Gautham R Shenoy lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8lockdep: fix recursive read lock validationkernel/lockdep.c lib/locking-selftest.c+10 -1110 replies
2/8lockdep: reader-in-writer recursioninclude/linux/lockdep.h kernel/lockdep.c+9 -10 replies
3/8lockdep: fix fib_hash softirq inversionnet/ipv4/fib_hash.c+9 -91 reply
4/8net: af_netlink: deadlocknet/netlink/af_netlink.c+8 -81 reply
5/8cpu: cpu-hotplug deadlockkernel/cpu.c+55 -426 replies
6/8lockdep: annotate cpu_hotpluginclude/linux/lockdep.h kernel/cpu.c+31 -00 replies
7/8cpu_hotplug: Introduce try_get_online_cpus()include/linux/cpu.h kernel/cpu.c+24 -00 replies
8/8cpufreq: Nest down_write/read(cpufreq_rwsem) within get_online_cpus()/put_online_cpus()drivers/cpufreq/cpufreq.c drivers/cpufreq/cpufreq_ondemand.c+16 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] CPU-Hotplug: Fix CPU-Hotplug <--> cpufreq locking dependency

Hello everyone,

A couple of months ago Zdenek Kabelac had reported a Circular locking dependency in resume, which was related to the locking dependency between the cpufreq and CPU-Hotplug subsystems.

http://lkml.org/lkml/2008/2/26/479

This patchset aggregates the various patches that have been posted in the recent past, to solve this problem.

There are a few more TODO items in CPU-Hotplug , unrelated to this problem, that cropped up in the various discussions. They will be posted in a seperate thread.

The patchstack has been lightly tested on a 4-way x86 machine with CPU-Hotplug running in parallel with kernbench and changing cpufreq governors simultaneously.

Awaiting your feedback,
gautham