[Devel] Re: [RFC][PATCH 1/3] Setup the kmem container

Paul Menage menage at google.com
Mon Sep 3 12:04:58 PDT 2007


On 8/30/07, Pavel Emelyanov <xemul at openvz.org> wrote:
> +config CONTAINER_KMEM
> +       bool "Kernel memory controller for containers"
> +       depends on CONTAINERS && RESOURCE_COUNTERS && SLUB
> +       help
> +         Provedes a kernel memory usage controll for containers

s/Provedes/Provides/
s/controll/control/

> +
> +       if (mem == NULL)
> +               return NULL;

That ought to be

     return -ENOMEM;

Paul




More information about the Devel mailing list