From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752983Ab1G2VB1 (ORCPT ); Fri, 29 Jul 2011 17:01:27 -0400 Received: from smtp-out002.kontent.com ([81.88.40.216]:52774 "EHLO smtp-out002.kontent.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752831Ab1G2VBZ (ORCPT ); Fri, 29 Jul 2011 17:01:25 -0400 From: Oliver Neukum To: "Rafael J. Wysocki" Subject: Re: [linux-pm] better oopsing when frozen Date: Fri, 29 Jul 2011 23:04:10 +0200 User-Agent: KMail/1.13.5 (Linux/3.0.0-12-desktop+; KDE/4.4.4; x86_64; ; ) Cc: Pavel Machek , linux-pm@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Andrew Morton References: <201107251043.19932.oneukum@suse.de> <20110729195430.GB1720@ucw.cz> <201107292227.54948.rjw@sisk.pl> In-Reply-To: <201107292227.54948.rjw@sisk.pl> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201107292304.10738.oliver@neukum.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Freitag, 29. Juli 2011, 22:27:54 schrieb Rafael J. Wysocki: > However, there's another problem I didn't think of before. Namely, > we cannot thaw tasks before resuming devices in case we've already > suspended them, because that will defeat the very purpose of the > freezing in the first place. That purpose is already defeated. The machine cannot be deader than dead. We could try to go through the device tree. But the machine just oopsed quite likely doing just that, so this doesn't seem wise to me. IMHO if we oops while frozen, chances are the system is going to die. It certainly dies now. However, we must certainly not thaw if a valid image is already on disk, lest we corrupt a filesystem. Regards Oliver