Subject: Re: [vserver] CGroup Swap extension in 2.6.38-rc4
From: Art -kwaak- van Breemen <ard@telegraafnet.nl>
Date: Mon, 14 Feb 2011 13:00:11 +0100

On Mon, Feb 14, 2011 at 10:49:48AM +0100, Romain Riviere wrote:
> The result was a kernel in which the swap controller was indeed
> disabled and could not be enabled by any means I could think of
> (cgroups were mounted with "-o all", no sysctl for that option
> ...). In effect, this breaks cgroups and prevents your guests
> from starting properly in case you have any memory.memsw limits
> set for them. The only solution was to build a new kernel with
> CONFIG_CGROUP_MEM_RES_CTLR_SWAP_ENABLED set to "Yes".  Now
> perhaps there *is* a way to enable this particular subsys after
> boot, and if anyone can find it, I'll be glad to hear about it
> :-)

It's a kernel commandline option, and it's actually explained in
the help ;-).