Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755021Ab2ENHp2 (ORCPT ); Mon, 14 May 2012 03:45:28 -0400 Received: from beauty.rexursive.com ([150.101.121.179]:46946 "EHLO beauty.rexursive.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753242Ab2ENHpZ (ORCPT ); Mon, 14 May 2012 03:45:25 -0400 Message-ID: <1336981522.1678.0.camel@shrek.rexursive.com> Subject: Re: [PATCH]: In kernel hibernation, suspend to both From: Bojan Smojver To: Alan Stern Cc: "Srivatsa S. Bhat" , "Rafael J. Wysocki" , Linux PM list , Kernel development list , bp@alien8.de Date: Mon, 14 May 2012 17:45:22 +1000 In-Reply-To: <1336964335.2154.5.camel@shrek.rexursive.com> References: <1336963067.2154.2.camel@shrek.rexursive.com> <1336963613.2154.4.camel@shrek.rexursive.com> <1336964335.2154.5.camel@shrek.rexursive.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.1 (3.4.1-2.fc17) Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 477 Lines: 14 On Mon, 2012-05-14 at 12:58 +1000, Bojan Smojver wrote: > + error = pm_suspend(PM_SUSPEND_MEM); Er, that won't work. The lock is being held by the caller. OK, we'll have to make it complicated, I guess... -- Bojan -- 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/