cvs commit: src/sys/kern kern_shutdown.c src/sys/platform/vkernel/platform init.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun May 27 16:29:13 PDT 2007
dillon 2007/05/27 16:28:30 PDT
DragonFly src repository
Modified files:
sys/kern kern_shutdown.c
sys/platform/vkernel/platform init.c
Log:
From within a virtual kernel, make /sbin/shutdown and /sbin/halt actually
halt and exit the vkernel, and make /sbin/reboot automatically re-exec
a fresh vkernel.
Talk about creating a clean slate! Having reboot re-exec the vkernel
is really nice. The kernel development cycle time is now down to around
18 seconds, reboot -n -q to root login prompt, and 28 seconds for a normal
reboot. That's running a vkernel with a normal RC startup and as a
bridged DHCP client.
Revision Changes Path
1.55 +4 -0 src/sys/kern/kern_shutdown.c
1.38 +14 -8 src/sys/platform/vkernel/platform/init.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_shutdown.c.diff?r1=1.54&r2=1.55&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/vkernel/platform/init.c.diff?r1=1.37&r2=1.38&f=u
More information about the Commits
mailing list