Re: [PATCH 1/5] [pm] Fix locking of device suspend/resume functions

From: Andrew Morton
Date: Fri Feb 17 2006 - 23:59:18 EST


Patrick Mochel <mochel@xxxxxxxxxxxxxxxxxx> wrote:
>
> This patch removes the unneeded down()/up() calls from
> suspend_device() and resume_device(). Those functions
> are already called under the dpm_sem, making this code
> unconditionally deadlock in SMP kernels.

I've seen no reports of such deadlocks. And I was testing swsusp on a
4-way this week?

-
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/