Re: [PATCH 1/1] suspend: make sync() on suspend-to-RAM build-time optional

2015-07-31 Thread Rafael J. Wysocki
On Friday, July 31, 2015 12:46:17 PM Len Brown wrote: > From: Len Brown > > The Linux kernel suspend path has traditionally invoked sys_sync() > before freezing user threads. > > But sys_sync() can be expensive, and some user-space OS's do not want > the kernel to pay the cost of sys_sync() on e

[PATCH 1/1] suspend: make sync() on suspend-to-RAM build-time optional

2015-07-31 Thread Len Brown
From: Len Brown The Linux kernel suspend path has traditionally invoked sys_sync() before freezing user threads. But sys_sync() can be expensive, and some user-space OS's do not want the kernel to pay the cost of sys_sync() on every suspend -- preferring invoke sync() from user-space if/when the