Paul Menage wrote:
> On 8/30/07, Pavel Emelyanov <xemul@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/
:) Thanks
>> +
>> + if (mem == NULL)
>> + return NULL;
>
> That ought to be
>
> return -ENOMEM;
Are you sure? This function should return the pointer! Maybe its
ought to be ERR_PTR(-ENOMEM)?
>
> Paul
>