Re: [2.6.33-rc5] Weird deadlock when shutting down

From: Johannes Berg
Date: Sat Feb 20 2010 - 03:46:00 EST


On Sat, 2010-02-20 at 12:46 +0800, AmÃrico Wang wrote:

> This is a real deadlock case found by lockdep added to s_active.
>
> The problem is that we did kobject_put(&data->kobj) while holding
> policy_rwsem
> which is used to protect 'data'. It is not so easy to fix this,
> probably we need to do more work on cpufreq code.

But it doesn't make sense that it's just an existing real deadlock that
is now found -- it never occurred previously!

Anyway, I'll try your patch, thanks for that.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part