
On Wed, Mar 28, 2018 at 07:43:39PM -0400, Anthony de Boer via talk wrote:
That'd be a totally brute-force solution. If the kernel pushed all dirty pages into swap then there should only be the page tables and other core stuff needing to go out, sleep, and be read back in before it could start paging the rest back as needed. Being a tad more aggressive about page-cleaning during normal runtime might even help it suspend faster.
I'd thought there was kernel suspend support already, in fact, not just hardware/firmware versions of it, but lack of a nice laptop and being the sort of person who crypts my swap partition mean I've never had the occasion to try it.
Well I generally don't suspend linux. I mainly suspend windows, and it is not very smart about it. -- Len Sorensen