On Wed, Jul 26, 2006 at 11:03:06PM +0200, Arjan van de Ven wrote: > rwsems unfortunately help you zilch; an rwsem is just a mutex with a > performance tweak, but from the deadlock perspective it's really a > mutex. ah ..didnt realize that. > I'm really starting to feel that the hotplug lock would have been better > of being a refcount (with a waitqueue for zero) than a lock. While > "refcount+waitqueue" sort of IS a lock, the semantics make more sense > imo... I think that will work, although you now need to deal with a global or per-cpu refcount now. Later is more cache-friendly, but dont think we have ready refcounting APIs for that? -- Regards, vatsa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: remove cpu hotplug bustification in cpufreq.
- From: Linus Torvalds <[email protected]>
- Re: remove cpu hotplug bustification in cpufreq.
- From: Ingo Molnar <[email protected]>
- Re: remove cpu hotplug bustification in cpufreq.
- From: Arjan van de Ven <[email protected]>
- Re: remove cpu hotplug bustification in cpufreq.
- From: Linus Torvalds <[email protected]>
- [patch] Reorganize the cpufreq cpu hotplug locking to not be totally bizare
- From: Arjan van de Ven <[email protected]>
- Re: [patch] Reorganize the cpufreq cpu hotplug locking to not be totally bizare
- From: Dave Jones <[email protected]>
- Re: [patch] Reorganize the cpufreq cpu hotplug locking to not be totally bizare
- From: Linus Torvalds <[email protected]>
- Re: [patch] Reorganize the cpufreq cpu hotplug locking to not be totally bizare
- From: Arjan van de Ven <[email protected]>
- Re: [patch] Reorganize the cpufreq cpu hotplug locking to not be totally bizare
- From: Srivatsa Vaddagiri <[email protected]>
- Re: [patch] Reorganize the cpufreq cpu hotplug locking to not be totally bizare
- From: Arjan van de Ven <[email protected]>
- Re: remove cpu hotplug bustification in cpufreq.
- Prev by Date: Re: the " 'official' point of view" expressed by kernelnewbies.org regarding reiser4 inclusion
- Next by Date: Re: swsusp hangs on headless resume-from-ram
- Previous by thread: Re: [patch] Reorganize the cpufreq cpu hotplug locking to not be totally bizare
- Next by thread: Re: [patch] Reorganize the cpufreq cpu hotplug locking to not be totally bizare
- Index(es):