[PATCH v2] suspend: make sync() on suspend-to-RAM optional

2014-01-22 Thread Len Brown
From: Len Brown Linux suspend-to-RAM was unreliable when first developed, and so sys_sync() was invoked inside the kernel at the start of every suspend flow. Today, many devices are invoking suspend with high reliability and high frequency, and they don't want to be forced to pay for sync on

[PATCH v2] suspend: make sync() on suspend-to-RAM optional

2014-01-22 Thread Len Brown
From: Len Brown len.br...@intel.com Linux suspend-to-RAM was unreliable when first developed, and so sys_sync() was invoked inside the kernel at the start of every suspend flow. Today, many devices are invoking suspend with high reliability and high frequency, and they don't want to be forced to