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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Arnd Bergmann <arnd@...>
Cc: <containers@...>, Theodore Tso <tytso@...>, <linux-kernel@...>, Oren Laadan <orenl@...>
Date: Friday, August 8, 2008 - 2:50 pm

On Fri, 2008-08-08 at 11:46 +0200, Arnd Bergmann wrote:
...

Yeah, this is very true.  My guess is that we'll need something like
what we do with modversions. 


Sure thing.  Will do.


Can't we just declare all these things __packed__ and stop worrying
about aligning them all manually?


Ugh, this is crappy code anyway.  It needs to return an error and have
someone else handle it.


I have to wonder if this is just a symptom of us trying to do this the
wrong way.  We're trying to talk the kernel into writing internal gunk
into a FD.  You're right, it is like a splice where one end of the pipe
is in the kernel.

Any thoughts on a better way to do this?  


Yes, eventually.  I think one good point is that we should probably
remove this now so that we *have* to think about security implications
as we add each individual patch.  For instance, what kind of checking do
we do when we restore an mlock()'d VMA?

I'll pull this check out so it causes pain. (the good kind)


Fine with me.  Renamed in new patches, hopefully.

I'll send new patches out later today.

-- Dave

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