From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Ball Subject: Re: Regression in suspend to ram in 2.6.31-rc kernels Date: Fri, 11 Sep 2009 18:29:17 -0400 Message-ID: References: <20090903232317.GA6760@lst.de> <87iqfx5mss.fsf@devron.myhome.or.jp> <20090907125130.GA1595@ucw.cz> <87ljko5k3v.fsf@devron.myhome.or.jp> <20090910192354.GD23356@elf.ucw.cz> <87bplim1ce.fsf@devron.myhome.or.jp> <20090911200922.GF8137@elf.ucw.cz> <20090911213204.GC25544@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from void.printf.net ([89.145.121.20]:45914 "EHLO void.printf.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750857AbZIKWbo (ORCPT ); Fri, 11 Sep 2009 18:31:44 -0400 In-Reply-To: (Zdenek Kabelac's message of "Fri, 11 Sep 2009 23:45:01 +0200") Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: Zdenek Kabelac Cc: Pavel Machek , OGAWA Hirofumi , Christoph Hellwig , "Rafael J. Wysocki" , Linux Kernel Mailing List , linux-mmc@vger.kernel.org, viro@zeniv.linux.org.uk Hi, > Well system could check basic card ids if they match after resume No. That (arguably) guarantees that it's the same card, but not that it wasn't modified in another machine during the suspend. > if some users wants to crash his card by randomly swapping it > during suspend/resume - I'd have no problem with that.... You should have a problem with it. Taking a card from a suspended machine and working on it with a different machine is not a bizarre thing to want to do. -- Chris Ball One Laptop Per Child