Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751326Ab0G3EKQ (ORCPT ); Fri, 30 Jul 2010 00:10:16 -0400 Received: from smtp-out.google.com ([216.239.44.51]:15776 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750968Ab0G3EKN (ORCPT ); Fri, 30 Jul 2010 00:10:13 -0400 DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:date:message-id:subject:from:to: cc:content-type:x-system-of-record; b=N5PaEREIEdNZqD4GZdELshvVlGUxFtJ4K4sOdN5TFuzGKeMtLcR1lrSWZP8/TAJOE xWonCJW9fW7xk47RitCyA== MIME-Version: 1.0 In-Reply-To: <20100730090146.7e65d1c1.kamezawa.hiroyu@jp.fujitsu.com> References: <201007282334.08063.rjw@sisk.pl> <20100729132325.59871484.kamezawa.hiroyu@jp.fujitsu.com> <20100729142245.4AA5.A69D9226@jp.fujitsu.com> <20100729142429.58b49dce.kamezawa.hiroyu@jp.fujitsu.com> <20100730090146.7e65d1c1.kamezawa.hiroyu@jp.fujitsu.com> Date: Thu, 29 Jul 2010 21:10:10 -0700 Message-ID: Subject: Re: Memory corruption during hibernation since 2.6.31 From: Hugh Dickins To: KAMEZAWA Hiroyuki Cc: KOSAKI Motohiro , "Rafael J. Wysocki" , Ondrej Zary , Kernel development list , Andrew Morton , Balbir Singh , Andrea Arcangeli Content-Type: text/plain; charset=UTF-8 X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 884 Lines: 20 On Thu, Jul 29, 2010 at 5:01 PM, KAMEZAWA Hiroyuki wrote: > I think the best way is kexec(). But maybe rollback from hibernation failure > will be difficult. Considering how crash-dump works well and under maintainance > by many enterprise guys, hibernation-by-kexec is a choice. I think. It can make > reuse of kdump code, ...or, hibernation-resume code can eat kdump image > directly. Maybe the problem will be the speed of dump. I've no appetite for a total rework of hibernation, and I don't see how that would address the issue: I'm just looking for some protection against swap reuse danger. Hugh -- 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/