Messages in this thread | | | Date | Fri, 28 Jan 2011 14:36:54 +0900 | From | Daisuke Nishimura <> | Subject | Re: [BUGFIX][PATCH 1/4] memcg: fix limit estimation at reclaim for hugepage |
| |
On Fri, 28 Jan 2011 13:58:39 +0900 KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:
> How about this ? > == > From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> > > Current memory cgroup's code tends to assume page_size == PAGE_SIZE > and arrangement for THP is not enough yet. > > This is one of fixes for supporing THP. This adds > mem_cgroup_check_margin() and checks whether there are required amount of > free resource after memory reclaim. By this, THP page allocation > can know whether it really succeeded or not and avoid infinite-loop > and hangup. > > Total fixes for do_charge()/reclaim memory will follow this patch. > > Changelog v1->v2: > - style fix. > > Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Thanks, Daisuke Nishimura.
| |