The real realtime preemption end game
The real realtime preemption end game
Posted Nov 19, 2023 18:40 UTC (Sun) by mirabilos (subscriber, #84359)In reply to: The real realtime preemption end game by mirabilos
Parent article: The real realtime preemption end game
Yes, it’s not a persistent storage like the BIOS (or EFI) settings.
No, a boot does not imply memory cleaning (except for memory used during boot, of course). It usually does imply some kind of memory test, and several kinds of memory amount probing by different places in the boot process, but these are often nōn-intrusive enough to keep the memory contents.
A cold boot does have empty memory simply because the memory had no power and the memory controller likewise did not refresh the memory banks.
A warm reboot does not have a period of such, so the memory is *usually* retained.
A hard reboot can fall into either category, depending on how it is executed and wired. The usual power button long-press will be a poweroff followed by a mostly-cold boot; a watchdog reboot, or if the kernel crashed but is still able to reboot-ish (even if just by causing a triple-fault) can be warm reboots (this mostly depends on the memory controller to continue refreshing the memory during that, and of course the firmware not overwriting it).
