[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-kernel
Subject: Re: [PATCH 1/1] suspend: make sync() on suspend-to-RAM build-time optional
From: "Rafael J. Wysocki" <rjw () rjwysocki ! net>
Date: 2015-07-31 23:57:44
Message-ID: 1549900.RSMcUBBPG7 () vostro ! rjw ! lan
[Download RAW message or body]
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/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic