Re: Hot kernel change
From: Randy.Dunlap
Date: Thu Feb 19 2004 - 16:21:04 EST
On Thu, 19 Feb 2004 13:33:43 -0000 (WET) "Carlos Silva" <r3pek@xxxxxxxxxxxxxxxxxxx> wrote:
| hi,
|
| i would like to know if isn't it possible to implement a hot kernel
| change, i mean, without reboot. i would do it myself if i had the knoledge
| to do it but i'm starting with kernel-level programing now. i think it
| would be possible if we make something like M$'s OS do when it hibernates,
| copy all the memory, registers, etc to the disc and then put all back
| again.
|
| am i dreaming or this is possible? :)
The kexec patch is basically "linux reboots linux".
It bypasses the firmware/BIOS to do the reboot.
Patches for 2.6.0 and 2.6.1 are here (I haven't updated for
2.6.2 or 2.6.3 yet):
http://developer.osdl.org/rddunlap/kexec/
Patches for some 2.5.x kernels are here:
http://www.xmission.com/~ebiederm/files/kexec/
kexec does reduce reboot time quite a bit on some machines, but
there is still a noticeable pause.
--
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/