Re: CPUFREQ-CPUHOTPLUG: Possible circular locking dependency

From: Andrew Morton
Date: Wed Nov 29 2006 - 16:06:35 EST


On Wed, 29 Nov 2006 20:54:04 +0530
Gautham R Shenoy <ego@xxxxxxxxxx> wrote:

> Ok, so to cut the long story short,
> - While changing governor from anything to
> ondemand, locks are taken in the following order
>
> policy->lock ===> dbs_mutex ===> workqueue_mutex.
>
> - While offlining a cpu, locks are taken in the following order
>
> cpu_add_remove_lock ==> sched_hotcpu_mutex ==> workqueue_mutex ==
> ==> cache_chain_mutex ==> policy->lock.

What functions are taking all these locks? (ie: the callpath?)
-
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/