Re: [PATCH v2 11/51] memcg: implement mem_cgroup_css_from_page()

From: Tejun Heo
Date: Wed May 27 2015 - 13:48:26 EST


Hello,

On Wed, May 27, 2015 at 01:09:55PM -0400, Johannes Weiner wrote:
> Regular page migration uses mem_cgroup_migrate() as well, but it's not
> a problem as it ensures that the old page doesn't have any outstanding
> references at that point.

Ooh, I see.

> It's only replace_page_cache_page() that calls mem_cgroup_migrate() on
> a live page breaking mem_cgroup_css_from_page().
>
> So the page looks fine, I'd just update the culprit function in the
> changelog and kerneldoc.

Alright, will update the comment and description.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/