Just tossing an idea out in ignorance (I don't know much about how the competing suspend models work), but it seems we've got another mechanism we could use beside kdump. We already page data and programs out to swap. Could we not page out everything including the running kernel too (without freeing the RAM of course) so that an early step in rebooting would be to examine swap and see if it looked like it contained a viable "kernel+user space image" and do the Right Thing with it?
Another thought: kdump only requires a private kernel to do the dump because the "real" kernel is presumably injured. Seems that if the kdump technique were used for suspend, wouldn't it be safe to assume the main kernel is okay and let it do the dump? No need for a special dump kernel.
Wish I knew what I was talking about. -- Cheers
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds