Re: [RFC][PATCH 1/4] checkpoint-restart: general infrastructure

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Oren Laadan
Date: Monday, August 11, 2008 - 8:44 pm

Dave Hansen wrote:

Dave is right on the money: in Zap (the equivalent of) cr_get_fname()
may be called with a buffer smaller than PATH_MAX (one page) and hence
the need to allocate ad-hoc. Indeed in the current code this is not the
case (yet?) so I'll go ahead and simplify it.


One way to reduce the risk is to use an intermediate representation to
kernel native data and properties (e.g. classify VMAs during checkpoint
instead of relying blindly on the flags).

The problem is not so much in restarting a checkpoint image from old
kernel on a new kernel - that can be handled by conversion in user space.

Tracking changes affecting the checkpoint/restart logic - well, if
eventually checkpoint/restart gets to becomes main-stream enough that
developers will be aware of it.


The only reason I made the analogy without actually implementing it is lack
of time and familiarity with the ptrace permission world.


There is some optimistic locking (mmap_sem), improved in the next version.

Thanks,

Oren.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC][PATCH 0/4] kernel-based checkpoint restart, Dave Hansen, (Thu Aug 7, 3:40 pm)
[RFC][PATCH 2/4] checkpoint/restart: x86 support, Dave Hansen, (Thu Aug 7, 3:40 pm)
Re: [RFC][PATCH 0/4] kernel-based checkpoint restart, Arnd Bergmann, (Fri Aug 8, 2:25 am)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Arnd Bergmann, (Fri Aug 8, 5:09 am)
Re: [RFC][PATCH 0/4] kernel-based checkpoint restart, Dave Hansen, (Fri Aug 8, 11:06 am)
Re: [RFC][PATCH 0/4] kernel-based checkpoint restart, Arnd Bergmann, (Fri Aug 8, 11:18 am)
Re: [RFC][PATCH 0/4] kernel-based checkpoint restart, Oren Laadan, (Fri Aug 8, 12:44 pm)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Oren Laadan, (Fri Aug 8, 1:28 pm)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Arnd Bergmann, (Fri Aug 8, 3:29 pm)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Oren Laadan, (Fri Aug 8, 4:04 pm)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Dave Hansen, (Fri Aug 8, 5:38 pm)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Oren Laadan, (Fri Aug 8, 6:20 pm)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Dave Hansen, (Fri Aug 8, 7:20 pm)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Oren Laadan, (Fri Aug 8, 7:35 pm)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Arnd Bergmann, (Fri Aug 8, 11:43 pm)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Jeremy Fitzhardinge, (Sun Aug 10, 7:55 am)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Dave Hansen, (Mon Aug 11, 8:36 am)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Jeremy Fitzhardinge, (Mon Aug 11, 9:07 am)
checkpoint/restart ABI, Dave Hansen, (Mon Aug 11, 12:48 pm)
Re: checkpoint/restart ABI, Arnd Bergmann, (Mon Aug 11, 2:47 pm)
Re: checkpoint/restart ABI, Oren Laadan, (Mon Aug 11, 2:54 pm)
Re: checkpoint/restart ABI, Jonathan Corbet, (Mon Aug 11, 4:14 pm)
Re: checkpoint/restart ABI, Dave Hansen, (Mon Aug 11, 4:23 pm)
Re: checkpoint/restart ABI, Jeremy Fitzhardinge, (Mon Aug 11, 4:38 pm)
Re: checkpoint/restart ABI, Peter Chubb, (Mon Aug 11, 4:54 pm)
Re: [RFC][PATCH 1/4] checkpoint-restart: general infrastru ..., Oren Laadan, (Mon Aug 11, 8:44 pm)
Re: checkpoint/restart ABI, Serge E. Hallyn, (Tue Aug 12, 7:49 am)
Re: checkpoint/restart ABI, Dave Hansen, (Tue Aug 12, 7:58 am)
Re: checkpoint/restart ABI, Dave Hansen, (Tue Aug 12, 8:11 am)
Re: checkpoint/restart ABI, Jeremy Fitzhardinge, (Tue Aug 12, 9:32 am)
Re: checkpoint/restart ABI, Dave Hansen, (Tue Aug 12, 9:46 am)
Re: checkpoint/restart ABI, Jeremy Fitzhardinge, (Tue Aug 12, 10:04 am)
Re: checkpoint/restart ABI, Oren Laadan, (Wed Aug 20, 2:52 pm)
Re: checkpoint/restart ABI, Oren Laadan, (Wed Aug 20, 2:54 pm)
Re: checkpoint/restart ABI, Dave Hansen, (Wed Aug 20, 3:11 pm)
Re: checkpoint/restart ABI, Oren Laadan, (Wed Aug 20, 10:56 pm)
Re: checkpoint/restart ABI, Arnd Bergmann, (Thu Aug 21, 1:43 am)
Re: checkpoint/restart ABI, Oren Laadan, (Thu Aug 21, 8:43 am)
Re: checkpoint/restart ABI, Eric W. Biederman, (Thu Aug 28, 4:40 pm)