Re: [RFC v6][PATCH 0/9] Kernel based checkpoint/restart

From: Cedric Le Goater
Date: Wed Oct 15 2008 - 11:16:18 EST


Dave Hansen wrote:
> On Mon, 2008-10-13 at 10:13 +0200, Cedric Le Goater wrote:
>> hmm, that's rather complex, because we have to take into account the
>> kernel stack, no ? This is what Andrey was trying to solve in his patchset
>> back in September :
>>
>> http://lkml.org/lkml/2008/9/3/96
>>
>> the restart phase simulates a clone and switch_to to (not) restore the kernel
>> stack. right ?
>
> Do we ever have to worry about the kernel stack if we simply say that
> tasks have to be *in* userspace when we checkpoint them.

at a syscall boundary for example. that would make our life easier
definitely.

C.

> If a task is
> in an uninterruptable wait state, I'm not sure it's safe to checkpoint
> it anyway.

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