Re: [PATCH 1/8] PM: Add suspend block api.

Matthew Garrett
2010-05-07T19:33:53Z

On Fri, May 07, 2010 at 12:28:37PM -0700, Tony Lindgren wrote:
> * Daniel Walker <dwalker@fifo99.com> [100507 12:01]:
> > On Fri, 2010-05-07 at 19:46 +0100, Matthew Garrett wrote:
> > > Freezer cgroups would work better, but it doesn't really change the
> > > point - if that application has an open network socket, how do you know
> > > to resume that application when a packet comes in?
>
> No idea, but that still sounds a better situation to me than
> trying to deal with that for a suspended system! :)

Suspend blocks deal with that problem. Nobody has yet demonstrated a
workable alternative solution.

--
Matthew Garrett | mjg59@srcf.ucam.org