[Devel] Re: [PATCH 4/4] Account for the slub objects
Pavel Emelyanov
xemul at openvz.org
Mon Sep 17 23:28:26 PDT 2007
Dave Hansen wrote:
> On Mon, 2007-09-17 at 16:35 +0400, Pavel Emelyanov wrote:
>> +
>> + rcu_read_lock();
>> + cnt = task_kmem_container(current);
>> + if (res_counter_charge(&cnt->res, s->size))
>> + goto err_locked;
>> +
>> + css_get(&cnt->css);
>> + rcu_read_unlock();
>> + obj_container[slab_index(obj, s, page_address(pg))] = cnt;
>
> You made some effort in the description, but could we get some big fat
> comments here about what RCU is doing?
No big fat comment here - this all is containers API.
> -- Dave
>
>
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list