Re: Checkpoint/restart (was Re: [PATCH 0/4] - v2 - Object creation with a specified id)

From: Eric W. Biederman
Date: Thu Jul 10 2008 - 15:32:17 EST


Dave Hansen <dave@xxxxxxxxxxxxxxxxxx> writes:

> On Thu, 2008-07-10 at 11:55 -0700, Eric W. Biederman wrote:
>>
>> > If we do checkpoint-as-a-coredump, then we need userspace to coordinate
>> > a kernel-generated coredump with a user-generated (?) swapfile snapshot.
>> > But I guess we figure that out later.
>>
>> Well it is a matter of which VMAs you dump. For things that are file backed
>> you need to dump them.

For things that are file backed you DO NOT need to dump them. (sorry typo).

> Are we talking about the VMA itself, or the memory backing the VMA?

The memory backing the VMA. We need to store the page protections
that the memory was mapped with as well now that you point it out. A
VMA is not user space visible, which is why we can arbitrarily split
and merge VMAs.

Eric


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