lkml.org 
[lkml]   [1998]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: LKPK (Live Kernel Patching Kit)


On Sun, 26 Jul 1998, Adam Sulmicki wrote:

:Date: Sun, 26 Jul 1998 18:24:39 -0400
:From: Adam Sulmicki <adam@cfar.umd.edu>
:To: Rik van Riel <H.H.vanRiel@phys.uu.nl>
:Cc: Chad C Giffin <typo@t-net.org>, Adam Sulmicki <adam@cfar.umd.edu>,
: linux-kernel@vger.rutgers.edu
:Subject: Re: LKPK (Live Kernel Patching Kit)
:
:Rik van Riel writes:
:->On Sun, 26 Jul 1998, Chad C Giffin wrote:
:->> On Sat, 25 Jul 1998, Adam Sulmicki wrote:
:->> :
:->> :Date: Sat, 25 Jul 1998 19:46:34 -0400
:->> :Chad C Giffin writes:
:->>
:->> :I think you are talking about something else. I even did not try to think
:->> :about anything like this as it is _extermely_ complicated.
:->>
:->> So is going through the kernel and catching all references to variables,
:->> functions and such :-)
:->
:->If we had linker support for this, however, we might end up
:->with a patchable kernel. To do this we'd have to store all
:->needed information in some kernel data section.
:->
:->While this might increase the size of the kernel by a factor
:->2, it might be worth it for high-availability sites to compile
:->their kernel with CONFIG_LIVE_UPDATE...
:
:The problem is that all this sheme breaks when you change some
:data structure. [...]

Only in some cases. Its a matter of moving the data in an image restore
operation to the new structures.

This may break in cases where soemone has called, for example, an ioctl in
user space that returned a kernel structure (this is a *nono*) describing
a serial port. The updated kernel image may have a different structure
:-)

In my opinion the user space is not a place for a kernel structure.
I suppose changing this would be a bit of work.

Chad C Giffin




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.041 / U:1.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site