Re: 3.0rc2 oops in mem_cgroup_from_task

From: KAMEZAWA Hiroyuki
Date: Thu Jun 09 2011 - 20:20:58 EST


On Thu, 9 Jun 2011 16:42:09 -0700
Ying Han <yinghan@xxxxxxxxxx> wrote:

> ++cc Hugh who might have seen similar crashes on his machine.
>

Thank you for forwarding. Hmm. It seems the panic happens at khugepaged's
page collapse_huge_page().

==
count_vm_event(THP_COLLAPSE_ALLOC);
if (unlikely(mem_cgroup_newpage_charge(new_page, mm, GFP_KERNEL))) {
==
It passes target mm to memcg and memcg gets a cgroup by
==
mem = mem_cgroup_from_task(rcu_dereference(mm->owner));
==
Panic here means....mm->owner's task_subsys_state contains bad pointer ?

I'll dig. Thanks.
-Kame

--
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/