Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261252AbVC2VZN (ORCPT ); Tue, 29 Mar 2005 16:25:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261253AbVC2VZM (ORCPT ); Tue, 29 Mar 2005 16:25:12 -0500 Received: from digitalimplant.org ([64.62.235.95]:25031 "HELO digitalimplant.org") by vger.kernel.org with SMTP id S261252AbVC2VXr (ORCPT ); Tue, 29 Mar 2005 16:23:47 -0500 Date: Tue, 29 Mar 2005 13:23:35 -0800 (PST) From: Patrick Mochel X-X-Sender: mochel@monsoon.he.net To: Pavel Machek cc: dtor_core@ameritech.net, Linux-pm mailing list , Vojtech Pavlik , Stefan Seyfried , kernel list , Andy Isaacson Subject: Re: [linux-pm] Re: swsusp 'disk' fails in bk-current - intel_agp at fault? In-Reply-To: <20050329205225.GF8125@elf.ucw.cz> Message-ID: References: <4242CE43.1020806@suse.de> <20050324181059.GA18490@hexapodia.org> <4243252D.6090206@suse.de> <20050324235439.GA27902@hexapodia.org> <4243D854.2010506@suse.de> <20050329181831.GB8125@elf.ucw.cz> <20050329192339.GE8125@elf.ucw.cz> <20050329205225.GF8125@elf.ucw.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 908 Lines: 25 On Tue, 29 Mar 2005, Pavel Machek wrote: > I don't really want us to try execve during resume... Could we simply > artifically fail that execve with something if (in_suspend()) return > -EINVAL; [except that in_suspend() just is not there, but there were > some proposals to add it]. > > Or just avoid calling hotplug at all in resume case? And then do > coldplug-like scan when userspace is ready... I thought that cold-plugging only worked for devices, not all objects. Can we just queue up hotplug events? That way we wouldn't lose any across the transition, and could be used to send resume events to userspace for various devices that need help.. Pat - 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/