[RFC][PATCH 2/3] The accounting hooks and core

Paul Menage menage at google.com
Mon Sep 3 11:59:42 PDT 2007


On 8/30/07, Pavel Emelyanov <xemul at openvz.org> wrote:
> +
> +       cnt = task_kmem_container(current);
> +       if (res_counter_charge(&cnt->res, s->size))
> +               return -ENOMEM;
> +
> +       css_get(&cnt->css);

These lines should be in an rcu_read_lock() section.

Paul


More information about the Containers mailing list