Messages in this thread | | | Date | Wed, 9 Dec 2009 10:15:10 +0100 | From | Andi Kleen <> | Subject | Re: [PATCH] [23/31] HWPOISON: add memory cgroup filter |
| |
> I have a question, can try_get_mem_cgroup_from_page() return > root_mem_cgroup?
It could be called for any page.
> if it can, then css->cgroup->dentry is NULL, if memcg is > not mounted and there is no subdir in memcg. Because the root > cgroup of an inactive subsystem has no dentry.
Thanks. I'll just add an return -EINVAL for this case, sounds good?
-Andi
-- ak@linux.intel.com -- Speaking for myself only.
| |