Messages in this thread | | | Subject | Re: Faster reboots - calling _start? | From | (Eric W. Biederman) | Date | 06 Apr 2002 14:57:33 -0700 |
| |
"Martin J. Bligh" <Martin.Bligh@us.ibm.com> writes:
> > Wouldn't it be easier to just ljmp to the start address of the kernel in > > memory (the address after the bootloader has done its thing), effectively > > restarting the kernel from line 1? Or is tehre an issue with some > > hardware being in an invalid state when doing this? > > Two issues with that: > > 1. I want to be able to boot a different kernel on reboot - this > is a development machine. > > 2. I believe we free all the __init stuff around the end of > start_kernel, so the initial functions and data just aren't > there any more ... of course that could be changed, but it's > both a more major change than I really want to do, and it still > doesn't solve (1) ;-)
Seriously check out my code it should just work unless there are special apic shutdown rules for NUMAQ machines.
Eric
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |