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. Linux's Bedtime Routine https://tookmund.com/2024/09/hibernation-preparation#linux#goodreads#opensource
@fredbrooker Both Linux and macOS achieve faster boot times by starting all services in the background. Some serious engineering work goes into it, for sure. I believe there is some work done recently for FreeBSD 14, too.