lkml.org 
[lkml]   [2008]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC v2][PATCH 3/9] x86 support for checkpoint/restart
From
Date
On Wed, 2008-08-20 at 23:04 -0400, Oren Laadan wrote:+
> +#ifdef CONFIG_X86_64
> +
> +#error "CONFIG_X86_64 unsupported yet."

Well, I told you I'd write some Kconfig magic for you, but I can't since
I can't apply these patches. :)

You need this in a Kconfig file somewhere:

config CHECKPOINT_RESTART
prompt "Good prompt"
def_bool y
depends on X86_32 && EXPERIMENTAL
help
Lots of fun help...

config SELECT_ALL_NAMESPACES
prompt "Enable all kernel namespace support"
selects IPC_NS NET_NS ...
help
This option will save you having to go track down
all of the individual places that namespaces are
supported in the kernel.

If you don't turn this on, the restart porttion
of checkpoint/restart gets a lots less reliable...

probably in checkpoint/Kconfig.

Then, in all of the architectures' arch/*/Kconfig files, you need to:

source "checkpoint/Kconfig"

Then, the Makefile looks like this:

--- /dev/null 2008-04-22 10:49:52.000000000 -0700
+++ oren-cr.git-dave/checkpoint/Makefile 2008-08-22 12:30:53.000000000 -0700
@@ -0,0 +1 @@
+obj-$(CONFIG_CHECKPOINT_RESTART) += sys.o checkpoint.o restart.o

-- Dave



\
 
 \ /
  Last update: 2008-08-22 22:21    [W:0.149 / U:0.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site