Re: question on resume()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Montag, 29. Januar 2007 12:24 schrieb Nigel Cunningham:
> Hi.
> 
> On Mon, 2007-01-29 at 12:06 +0100, Oliver Neukum wrote:
> > Hi,
> > 
> > may a driver call wake_up() while doing resume() ?
> 
> I assume you mean waking a userspace process from drivers_resume(). If
> so, the answer is no - processes will still be frozen at the point. In
> the case of Suspend2, the LRU pages will still not have been read
> either, so Suspend2 users would hate you for making hibernation crash
> and burn :)

If so, how do I notify tasks presumably about to be thawed that their
IO failed?

	Regards
		Oliver
-
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/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux