suspend, kdump, swap, ...
Posted Feb 10, 2006 21:40 UTC (Fri) by utoddl
Parent article: Software suspend - again
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
to post comments)