mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chris Wedgwood <cw@f00f.org>
To: "C. Slater" <cslater@wcnet.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Switching Kernels without Rebooting?
Date: Wed, 11 Jul 2001 06:50:43 +1200	[thread overview]
Message-ID: <20010711065043.G32421@weta.f00f.org> (raw)
In-Reply-To: <000b01c10970$096cd8c0$fe00000a@cslater>
In-Reply-To: <000b01c10970$096cd8c0$fe00000a@cslater>

On Tue, Jul 10, 2001 at 02:42:12PM -0400, C. Slater wrote:

    Hi, i was just thinking about if it would be possible to switch
    kernels without haveing to restart the entire system.

Pre-solaris 8 sun were promising this

    Sort of a "Live kernel replacement". It sort of goes along with
    the hot-swap-everything ideas. I was thinking something like

    - Take all the structs related to userspace memory and processes
    - Save them to a reserved area of memory
    - Halt the kernel, mostly

what about timing critical things? you mention networking, but there
are others

    - Wipe kernel-space memory clean to avoid confusion
    - Load new kernel into memory

    - Replace all saved structures

what if the layout of these changes as it often does?

    - Start kernel running agin

    This seems like the easiest way to do it. The biggest problem is
    that there would be somewhere about 30 seconds where all processes
    would be frozen.

It seems like difficult to implement solution for little gain. Linux
can be booted _very_ quickly on modern machines, probably about 15s
for most hardware.  If you use burn linux into the rom of use a
flashdisk (or similar solution), you can have everything rebooted in
under five seconds.

The zflinux chips/machines probably boot in half that, maybe less (as
tested on a prototype many months ago).





  --cw

  reply	other threads:[~2001-07-10 18:51 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-10 18:42 C. Slater
2001-07-10 18:50 ` Chris Wedgwood [this message]
2001-07-10 21:11 ` Jesper Juhl
     [not found] <NOEJJDACGOHCKNCOGFOMOEKECGAA.davids@webmaster.com>
2001-07-10 20:43 ` C. Slater
2001-07-11  3:50   ` FORT David
2001-07-11  9:10   ` Helge Hafting
2001-07-11 15:41     ` C. Slater
2001-07-12 10:16       ` Helge Hafting
2001-07-11 22:12     ` Paul Jakma
2001-07-11 22:14       ` Rik van Riel
2001-07-11 22:36         ` C. Slater
2001-07-11 23:44           ` Andreas Dilger
2001-07-12  1:17             ` C. Slater
2001-07-12 15:39               ` Rik van Riel
2001-07-12 16:23                 ` Albert D. Cahalan
2001-07-12 17:37                   ` Mike Borrelli
2001-07-12 18:05                   ` Rik van Riel
2001-07-13 10:07                     ` Pau Aliagas
2001-07-12 18:48                   ` Chris Friesen
2001-07-12 10:12             ` Ralf Baechle
2001-07-12 15:32           ` Rik van Riel
2001-07-11 22:36         ` David Schwartz
2001-07-11 22:46       ` Kip Macy
2001-07-11 23:02         ` Rik van Riel
2001-07-12  0:31         ` Jesse Pollard
2001-07-12  1:10           ` Hua Zhong
2001-07-11 23:36       ` H. Peter Anvin
2001-07-12  7:23       ` Kai Henningsen
2001-07-12 10:05         ` Helge Hafting
2001-07-12 17:58         ` Hua Zhong
2001-07-13  6:50         ` Kai Henningsen
2001-07-12  7:23       ` Ville Herva
2001-07-11  9:52 David Balazic
2001-07-11 10:08 ` Laramie Leavitt
2001-07-11 19:12   ` H. Peter Anvin
2001-07-11 15:19 ` C. Slater
     [not found] <994895240.21189@whiskey.enposte.net>
2001-07-12  0:10 ` Stuart Lynne
2001-07-12  1:03 Torrey Hoffman
2001-07-12  1:24 ` C. Slater
2001-07-12 10:07   ` Jesse Pollard
2001-07-12 12:11     ` Ian Stirling
2001-07-12 12:54       ` Jesse Pollard
2001-07-12 14:15         ` Michael H. Warfield
2001-07-12 23:17   ` Pavel Machek
2001-07-12 20:47 ` Wilfried Weissmann
2001-07-12  4:48 Frank Davis
2001-07-12  5:08 ` John Alvord
2001-07-13  9:10   ` Chuck Hemker
2001-07-12 12:23 Jesse Pollard
2001-07-12 14:55 ` Ralf Baechle
2001-07-12 15:32 Jesse Pollard
2001-07-13  1:11 tas
2001-07-13  3:45 ` Ian Stirling

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010711065043.G32421@weta.f00f.org \
    --to=cw@f00f.org \
    --cc=cslater@wcnet.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®