[lkml]   [2015]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/1] suspend: delete sys_sync()
On Sun, May 10, 2015 at 9:44 PM, Dave Chinner <> wrote:

> ...Please explain what your use case is that makes this
> so prohibitively expensive it needs to be removed.

wake on packet, process packet without turning on the display,
immediately suspend. Do this potentially several times per second.

>> The user-space utilities s2ram and s2disk choose to invoke sync() today.
>> A user can invoke suspend directly via /sys/power/state to skip that cost.
> So, you want to have s2disk write all the dirty pages in memory to
> the suspend image, rather than to the filesystem?

The s2disk utility is unchanged by this proposal, it already includes a sync().

Len Brown, Intel Open Source Technology Center

 \ /
  Last update: 2015-05-11 22:41    [W:0.149 / U:31.740 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site