Re: swap and 2.4.20

From: Hacksaw
Date: Sun Oct 05 2003 - 19:03:26 EST


>What you are talking about is equivalent to binary patching.

Sure, just a bit safer.

>If you have an app that needs to be available every second, then you need a
>failover system, and why not just have three where you can take one down at
>any time for updates(and still have one for failover during the update,
>though you could get by with only two, and take down the fail-over machine
>during the update)?

Well, the most obvious reason is that there is a unique state in the program
that you wish to preserve. A possibly pathological scenario is this:

You have a machine controlling a physical process, say a robotic crane. It's
currently holding up a big piece of work, and moving it the wrong way would be
very bad.

You have just discovered that the movement routine fails to take some physical
circumstance into account. If you could replace the routine in situ, there's
no serious loss. However, stopping and restart the program is no good, because
it automatically homes the crane, and more importantly, can't restart a
movement routine in the middle.

A design failure? Sure, but a realistic scenario.


--
Signposts are useful when you know where you're going.
http://www.hacksaw.org -- http://www.privatecircus.com -- KB1FVD


-
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/