From: Martin Peres <martin.peres-GANU6spQydw@public.gmane.org>
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Cc: Martin Peres <martin.peres-BktLLJ5BOkI@public.gmane.org>
Subject: Re: [PATCH] pm/fan: drop the fan lock in fan_update() before rescheduling
Date: Tue, 18 Mar 2014 14:36:22 +0100 [thread overview]
Message-ID: <53284BD6.7080700@free.fr> (raw)
In-Reply-To: <1394754503-22066-1-git-send-email-martin.peres-GANU6spQydw@public.gmane.org>
Le 14/03/2014 00:48, Martin Peres a écrit :
> From: Martin Peres <martin.peres-BktLLJ5BOkI@public.gmane.org>
>
> This should fix a deadlock that has been reported to us where fan_update()
> would hold the fan lock and try to grab the alarm_program_lock to reschedule
> an update. On an other CPU, the alarm_program_lock would have been taken
> before calling fan_update(), leading to a deadlock.
>
> Reported-by: Marcin Slusarz <marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> Signed-off-by: Martin Peres <martin.peres-GANU6spQydw@public.gmane.org>
Tested-by: Timothée Ravier <tim-m/3gSgDDTkE@public.gmane.org>
Cc: <stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> # 3.9+
This problem dates back to fa37e8dda2617d48fbc6b17dd6e986e7f4c2bc8b. It
would seem it got released in 3.9.
prev parent reply other threads:[~2014-03-18 13:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-13 23:48 [PATCH] pm/fan: drop the fan lock in fan_update() before rescheduling Martin Peres
[not found] ` <1394754503-22066-1-git-send-email-martin.peres-GANU6spQydw@public.gmane.org>
2014-03-18 13:36 ` Martin Peres [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53284BD6.7080700@free.fr \
--to=martin.peres-ganu6spqydw@public.gmane.org \
--cc=martin.peres-BktLLJ5BOkI@public.gmane.org \
--cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.