Merge tag 'ecryptfs-4.3-rc1-stale-dcache' of git://git.kernel.org/pub/scm/linux/kerne...
[firefly-linux-kernel-4.4.55.git] / kernel / power / Kconfig
index 9e302315e33db1b1d57227d55a43b19266e428ce..02e8dfaa1ce2d2085bd85e165ad6f25b9697a11a 100644 (file)
@@ -18,6 +18,16 @@ config SUSPEND_FREEZER
 
          Turning OFF this setting is NOT recommended! If in doubt, say Y.
 
+config SUSPEND_SKIP_SYNC
+       bool "Skip kernel's sys_sync() on suspend to RAM/standby"
+       depends on SUSPEND
+       depends on EXPERT
+       help
+         Skip the kernel sys_sync() before freezing user processes.
+         Some systems prefer not to pay this cost on every invocation
+         of suspend, or they are content with invoking sync() from
+         user-space before invoking suspend.  Say Y if that's your case.
+
 config HIBERNATE_CALLBACKS
        bool