Re: [PATCH] fix mem_cgroup_split_huge_fixup to work efficiently.

From: KAMEZAWA Hiroyuki
Date: Mon Nov 21 2011 - 19:37:41 EST


On Mon, 21 Nov 2011 16:30:11 +0530
Balbir Singh <bsingharora@xxxxxxxxx> wrote:

> On Thu, Nov 17, 2011 at 7:03 AM, KAMEZAWA Hiroyuki
> <kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote:
> >
> > I'll send this again when mm is shipped.
> > I sometimes see mem_cgroup_split_huge_fixup() in perf report and noticed
> > it's very slow. This fixes it. Any comments are welcome.
> >
>
> How do you see this - what tests?
>
Sometimes. By applications calling fork() or mremap(), mprotect(), which
will cause split_huge_page().
But not 100% reporoducable, yet.

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/