On Tue, 29 Mar 2005 22:52:25 +0200, Pavel Machek <[email protected]> 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 am leaning towards calling disable_usermodehelper (not writtent yet) after swsusp completes snapshotting memory. We really don't care about hotplug events in this case and this will allow keeping "normal" resume in drivers as is. What do you think? -- Dmitry - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- From: Stefan Seyfried <[email protected]>
- Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- From: Stefan Seyfried <[email protected]>
- Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- From: Andy Isaacson <[email protected]>
- Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- From: Stefan Seyfried <[email protected]>
- Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- From: Dmitry Torokhov <[email protected]>
- Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- From: Pavel Machek <[email protected]>
- Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- From: Dmitry Torokhov <[email protected]>
- Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- From: Pavel Machek <[email protected]>
- Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- From: Dmitry Torokhov <[email protected]>
- Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- From: Pavel Machek <[email protected]>
- Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- Prev by Date: [BK PATCHES] 2.6.x net driver fixes
- Next by Date: Re: [Alsa-devel] Re: 2.6.12-rc1-mm3, sound card lost id
- Previous by thread: Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- Next by thread: Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- Index(es):