- Kexec
kexec
("kernel exec") is mechanism of theLinux kernel that allows "live" booting of a new kernel over the currently running one.kexec
skips thebootloader stage (hardware initialization phase by thefirmware orBIOS ) and directly loads the new kernel into memory, which starts executing immediately. This avoids the long times associated with a full reboot [ [http://www.ibm.com/developerworks/linux/library/l-kexec.html Reboot Linux faster using kexec ] ] , and is useful on systems with high availability requirements, where minimizingdowntime is of essence.While feasible, there are two major challenges in implementing a mechanism such as
kexec
: First, the new kernel will overwrite the memory of the currently running one, while it is still executing. Second, the new kernel will usually expect all physical devices to be in a well-defined state, as they are after system reboot, when the BIOS (or firmware) resets them to a "sane" state. Bypassing a real reboot means devices may be in an unknown state, and the new kernel will have to recover from that.References
ee also
* An elaborate [http://www.ibm.com/developerworks/linux/library/l-kexec.html article] on
kexec
's purpose and usage.
* Agentoo [http://gentoo-wiki.com/TIP_kexec article] .
Wikimedia Foundation. 2010.