<div dir="ltr">It's been too long. Plus, for all I know, it may have been a "wouldn't this be cool" project that did not work out. I don't recall that we ended up using it much. But that was almost 50 years ago, so your guess is as good as mine.<div><br></div><div>It was for sure a cute hack.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 19, 2024 at 12:10 PM Noel Chiappa <<a href="mailto:jnc@mercury.lcs.mit.edu">jnc@mercury.lcs.mit.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">    > From: Ron Minnich<br>
<br>
    > Ed got tired of watching the bootstrap slowness<br>
<br>
This may be a dumb question (in which case, my apologies), but which part of<br>
booting a PDP-11 UNIX was slow? And thus, which parts did he bypass in a<br>
'quick reboot'? (I'm having a bit of a hard time working it out.) I can think<br>
of the following stages as potentially being 'slow':<br>
<br>
1 - reading in the kernel image from disk<br>
2 - sizing/clearing main memory<br>
3 - loading running /etc/init<br>
3A - creating all the 'loqin's<br>
3B - starting all the daemons/etc with /etc/rc<br>
<br>
(There's obviously a conflict between 2 and 3*; one can't avoid 3* if one<br>
does 2.)<br>
<br>
Which ones did he want to avoid?<br>
<br>
Avoiding 3* puts some limitations on the system, obviously, because it means<br>
one has to keep running processes around; the process table has to have the<br>
same format (and be in the same location - or it has to be moved before the<br>
new system is started). (Technically, I guess one would have to save the<br>
inode and file tables, too; there isn't enough saved data in the kernel to<br>
re-open files, plus there are file read/write ocation pointers, etc.)<br>
<br>
One could sort of do 2 also, if one were prepared to 1) swap all processes<br>
out to secondary storage before 'rebooting', and ii) saving the process table.<br>
<br>
    > But I'm wondering: is Ed's work in 1977 the first "kernel boots kernel"<br>
    > or was there something before?<br>
<br>
Are you talking about for UNIX, or across all operating systems? I don't have<br>
that broad a memory any more, to know - did TWENEX have something like that?<br>
<br>
     Noel<br>
</blockquote></div>