[PATCH 4/4] Account for the slub objects
Dave Hansen
haveblue at us.ibm.com
Mon Sep 17 09:09:28 PDT 2007
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?
-- Dave
More information about the Containers
mailing list