• M
    [CPUFREQ] fix (utter) cpufreq_add_dev mess · 3f4a782b
    Mathieu Desnoyers 提交于
    OK, I've tried to clean it up the best I could, but please test this with
    concurrent cpu hotplug and cpufreq add/remove in loops. I'm sure we will make
    other interesting findings.
    
    This is step one of fixing the overall locking dependency mess in cpufreq.
    Signed-off-by: NMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
    CC: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
    CC: rjw@sisk.pl
    CC: mingo@elte.hu
    CC: Shaohua Li <shaohua.li@intel.com>
    CC: Pekka Enberg <penberg@cs.helsinki.fi>
    CC: Dave Young <hidave.darkstar@gmail.com>
    CC: "Rafael J. Wysocki" <rjw@sisk.pl>
    CC: Rusty Russell <rusty@rustcorp.com.au>
    CC: sven.wegener@stealer.net
    CC: cpufreq@vger.kernel.org
    CC: Thomas Renninger <trenn@suse.de>
    Signed-off-by: NDave Jones <davej@redhat.com>
    3f4a782b
cpufreq.c 49.1 KB