Re: Transparent Hugepage Support #33
From: Daisuke Nishimura
Date: Wed Dec 15 2010 - 20:18:25 EST
Hi,
On Thu, 16 Dec 2010 09:54:08 +0900
KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote:
> On Wed, 15 Dec 2010 06:15:40 +0100
> Andrea Arcangeli <aarcange@xxxxxxxxxx> wrote:
>
> > Some of some relevant user of the project:
> >
> > KVM Virtualization
> > GCC (kernel build included, requires a few liner patch to enable)
> > JVM
> > VMware Workstation
> > HPC
> >
> > It would be great if it could go in -mm.
>
> Things should be done in memory cgroup is
>
> - make accounting correct (RSS count will be broken)
> - make move_charge() to work
> (at rmdir(), this is now broken. It seems move-charge-at-task-move to work)
>
Yes.
I think we should add mem_cgroup_split_hugepage_commit() and add PageTransHuge()
check in mem_cgroup_move_parent() as done in RHEL6 kernel.
As for move-charge-at-task-move, it will work because walk_pmd_range() splits
THP pages(it would be better to change move-charge not to split THP pages, but
it's not so urgent IMHO).
> Do you have known other viewpoints ?
Not yet, but I'll test and check.
> I'll look into when -mm is shipped.
>
me too :)
Thanks,
Daisuke Nihimura.
--
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/