[lkml]   [2014]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: A desktop environment[1] kernel wishlist

> > I suspect wakeup type reporting is maybe not the best way to go about
> > this, since there may be a number of causes for wakeups and they can
> > arrive closely together in different orders, which can result in
> > races.
> >
> > For instance, if the machine suspends, and sets an alarm to be woken
> > up at midnight to do a backup, if the user resumes their laptop at
> > 11:59:59, should the backup still proceed at midnight?
> No. And I would expect that we would get a wake up type of "power
> button" or "lid open" in this case.

I believe you should really use "is lid opened or AC or dock
connected" to determine if it was automatic resume or not. It should
work better and you can actually do it today.

> > For mobile
> > devices this is an expected design point, but for off-the-shelf
> > laptops with big fans and exhaust vents, I'm not sure how safe this
> > would be, so you may need to constrain this functionality somehow (or
> > look to see if a enforced low-power resume is possible).
> I think that we won't know whether it's a problem until the point that
> somebody actually implements it.

Kernel does not stop you at this point, right?

Suspend-to-partition is also doable today (see, or you
can just swapon before starting. You can take it off the list, I

(cesky, pictures)

 \ /
  Last update: 2014-10-27 11:01    [W:0.183 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site