[PATCH] Enhance checkpoint/restart Kconfig options

Dave Hansen dave at linux.vnet.ibm.com
Fri Jun 5 12:01:00 PDT 2009


On Thu, 2009-06-04 at 23:25 -0500, Nathan Lynch wrote:
> > Ahh, but there *isn't* a strict build dependency on them.  We just
> want
> > to make sure that if they're available that we enable them.  If we
> have
> > CONFIG_NET=n, then we certainly don't want to make CHECKPOINT
> depends on
> > it.
> 
> Sorry, I'm afraid I don't understand what you're saying here.
> 
> Here's a concrete example of what I'm talking about.
> 
> $ git checkout oren/ckpt-v16
> $ make ARCH=i386 i386_defconfig
> [ edit .config, enable CONFIG_CHECKPOINT and disable CONFIG_NET ]
> $ make ARCH=i386 -s vmlinux   # which should succeed
> [ apply your patch ]
> $ make ARCH=i386 -s vmlinux
> kernel/built-in.o: In function `free_nsproxy':
> (.text+0x1daaf): undefined reference to `__put_net'
> make: *** [.tmp_vmlinux1] Error 1

Kconfig is almost as retarded as me. :)  Thanks for the cluebat.

-- Dave



More information about the Containers mailing list