Messages in this thread | | | Date | Wed, 27 May 2015 13:48:17 -0400 | From | Tejun Heo <> | Subject | Re: [PATCH v2 11/51] memcg: implement mem_cgroup_css_from_page() |
| |
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
| |