Michal Hocko Messages: 109 Registered: December 2011
Senior Member
On Thu 11-10-12 14:42:12, Michal Hocko wrote:
[...]
> /*
> * Keep reference on memcg while the page is charged to prevent
> * group from vanishing because allocation can outlive their
> * tasks. The reference is dropped in __memcg_kmem_uncharge_page
> */
>
> please
> > + mem_cgroup_get(memcg);
Ahh, this will go away. The it doesn't make much sense to add the
comment here.
--
Michal Hocko
SUSE Labs