Re: [PATCH x86_64] Live Patching Function on 2.6.11.7

Takashi Ikebe
2005-04-20T07:36:59Z

Hi,
I think basic assumption between us and you is not match..
Our assumption, the live patching is not for debug, but for the real
operation method to fix very very important process which can not stop.
Live patchin fix the important process's bug without disrupting process.

Chris Wedgwood wrote:
> On Wed, Apr 20, 2005 at 01:18:23PM +0900, Takashi Ikebe wrote:
>
>
>>Well, Live patching is just a patch, so I think the developer of
>>patch should know the original source code well.
>
> In which case they could fix the application.
>
Yes, so they provide us the patch module, and we want to apply the patch
as live patching.
>
>>Well, as you said some application can do that, but some application
>>can not continue service with your suggestion.
>
> Such as?
>
>>please think about the process which use connection type
>>communication such as TCP(it's only example) between users and
>>server. During status copy, all the session between users and server
>>are disconnected...
>
>
> They don't have to be.

???
To takeover the application status, connection type
communications(SOCK_STREAM) are need to be disconnected by close().
Same network port is not allowed to bind by multiple processes....

How can you do that??
Users don't want to disconnect,(and also we don't want to disconnect)
but server process need to it to takeover the status.

>>can not save the exiting service at all.
>
> Yes they can.
>
>>It's one example, but similar problems may occurs whenever processed
>>use the resources which are mainly controlled by kernel.
>
> What resources? We can migrate memory and file descriptors? What is
> missing?

For example,
current process's resouces of rlimit.
you nerver set current rusage to new process.
especialy, ru_utime and ru_stime is very important to critical applications.
I don't know much about resources, but there may be more....(I hope not..)

--
Takashi Ikebe
NTT Network Service Systems Laboratories
9-11, Midori-Cho 3-Chome Musashino-Shi,
Tokyo 180-8585 Japan
Tel : +81 422 59 4246, Fax : +81 422 60 4012
e-mail : ikebe.takashi@lab.ntt.co.jp