Post Syndicated from corbet original https://lwn.net/Articles/989489/
Jacob Adams wanders into
the kernel’s hibernation code:
How does Linux move from an awake machine to a hibernating one? How
does it then manage to restore all state? These questions led me to
read way too much C in trying to figure out how this particular
hardware/software boundary is navigated.