Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752120AbaBXHJn (ORCPT ); Mon, 24 Feb 2014 02:09:43 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:35398 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751200AbaBXHJl (ORCPT ); Mon, 24 Feb 2014 02:09:41 -0500 MIME-Version: 1.0 In-Reply-To: <1392774729-3235-3-git-send-email-sebastian.capella@linaro.org> References: <1392774729-3235-1-git-send-email-sebastian.capella@linaro.org> <1392774729-3235-3-git-send-email-sebastian.capella@linaro.org> Date: Mon, 24 Feb 2014 15:09:38 +0800 Message-ID: Subject: Re: [PATCH RFC v1 2/3] Fix hibernation restore hang in freeze_processes From: Ming Lei To: Sebastian Capella Cc: Linux Kernel Mailing List , Linux PM List , linaro-kernel@lists.linaro.org, linux-arm-kernel , Greg Kroah-Hartman , Russ Dill Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 19, 2014 at 9:52 AM, Sebastian Capella wrote: > During restore, pm_notifier chain are called with > PM_RESTORE_PREPARE. The firmware_class driver handler > fw_pm_notify does not have a handler for this. As a result, > it keeps a reader on the kmod.c umhelper_sem. During > freeze_processes, the call to __usermodehelper_disable tries to > take a write lock on this semaphore and hangs waiting. > > Signed-off-by: Sebastian Capella > Cc: Russ Dill > Cc: Ming Lei > Cc: Greg Kroah-Hartman Acked-by: Ming Lei Thanks, -- Ming Lei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/