Re: [linux-pm] Re: swsusp 'disk' fails in bk-current - intel_agp at fault?

From: Patrick Mochel (mochel_at_digitalimplant.org)
Date: 03/29/05

  • Next message: Olivier Fourdan: "Clock 3x too fast on AMD64 laptop [WAS Re: Various issues after rebooting]"
    Date:	Tue, 29 Mar 2005 13:23:35 -0800 (PST)
    To: Pavel Machek <pavel@suse.cz>
    
    

    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/


  • Next message: Olivier Fourdan: "Clock 3x too fast on AMD64 laptop [WAS Re: Various issues after rebooting]"

    Relevant Pages

    • Re: [linux-pm] Re: swsusp disk fails in bk-current - intel_agp at fault?
      ... >> Or just avoid calling hotplug at all in resume case? ... We can walk the whole sysfs tree and create "cold" hotplug events. ... Hopefully the author of that patch resubmitts it ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [1/1][PATCH] nproc v2: netlink access to /proc information
      ... > The presumed wrong assumptions underlying broken tools of the future ... > making it easy to write correct applications (or in fixing broken apps ... knowledge of the CONFIG_MMU usage models and/or whatever userspace ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: User space out of memory approach
      ... > userspace provided candidate list. ... > instead of fixing the real problem is a real interesting engineering ... that after the source of trouble is fixed it is worth to ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: finding out the value of HZ from userspace
      ... > When we go to a tickless kernel and offer high-resolution timers to ... is the value of HZ reported to userspace anywhere? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] Filesystem linking protections
      ... > has broken atd and courier in the past. ... > or O_EXCL so there's work to be done in userspace. ... Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)