Quantcast
Viewing all articles
Browse latest Browse all 23908

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

On Friday, July 31, 2015 12:46:17 PM Len Brown wrote:
> From: Len Brown <len.brown@intel.com>
>
> 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 they want it.
>
> So make sys_sync on suspend build-time optional.
>
> The default is unchanged.
>
> Signed-off-by: Len Brown <len.brown@intel.com>

OK, I'm replacing your previous sync patch with this one (modulo some minor
changes in the help text).

Thanks,
Rafael

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Viewing all articles
Browse latest Browse all 23908

Trending Articles