Thread (71 messages) 71 messages, 7 authors, 2012-06-13

Re: [PATCH -V8 15/16] hugetlb/cgroup: migrate hugetlb cgroup info from oldpage to new page during migration

From: Aneesh Kumar K.V <hidden>
Date: 2012-06-11 10:17:44
Also in: cgroups, lkml

Michal Hocko [off-list ref] writes:
On Sat 09-06-12 14:30:00, Aneesh Kumar K.V wrote:
quoted
From: "Aneesh Kumar K.V" <redacted>

With HugeTLB pages, hugetlb cgroup is uncharged in compound page
destructor.  Since we are holding a hugepage reference,
Who is holding that reference? I do not see anybody calling get_page in
this patch...
soft_offline_huge_page takes the reference. It does the final
put_page(hpage) there.
quoted
we can be sure that old page won't get uncharged till the last
put_page().
-aneesh

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help