Prev: [cleanup][PATCH -mmotm 1/2] memcg: remove redundant codes
Next: [cleanup][PATCH -mmotm 2/2] memcg: remove mem from arg of charge_common
From: KAMEZAWA Hiroyuki on 7 Jun 2010 02:10 On Mon, 7 Jun 2010 14:52:39 +0900 Daisuke Nishimura <nishimura(a)mxp.nes.nec.co.jp> wrote: > These patches are based on mmotm-2010-06-03-16-36 + some already merged patches > for memcg. > > === > From: Daisuke Nishimura <nishimura(a)mxp.nes.nec.co.jp> > > - try_get_mem_cgroup_from_mm() calls rcu_read_lock/unlock by itself, so we > don't have to call them in task_in_mem_cgroup(). > - *mz is not used in __mem_cgroup_uncharge_common(). > - we don't have to call lookup_page_cgroup() in mem_cgroup_end_migration() > after we've cleared PCG_MIGRATION of @oldpage. > - remove empty comment. > - remove redundant empty line in mem_cgroup_cache_charge(). > > Signed-off-by: Daisuke Nishimura <nishimura(a)mxp.nes.nec.co.jp> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu(a)jp.fujitsu.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Balbir Singh on 7 Jun 2010 03:00
* nishimura(a)mxp.nes.nec.co.jp <nishimura(a)mxp.nes.nec.co.jp> [2010-06-07 14:52:39]: > These patches are based on mmotm-2010-06-03-16-36 + some already merged patches > for memcg. > > === > From: Daisuke Nishimura <nishimura(a)mxp.nes.nec.co.jp> > > - try_get_mem_cgroup_from_mm() calls rcu_read_lock/unlock by itself, so we > don't have to call them in task_in_mem_cgroup(). > - *mz is not used in __mem_cgroup_uncharge_common(). > - we don't have to call lookup_page_cgroup() in mem_cgroup_end_migration() > after we've cleared PCG_MIGRATION of @oldpage. > - remove empty comment. > - remove redundant empty line in mem_cgroup_cache_charge(). > > Signed-off-by: Daisuke Nishimura <nishimura(a)mxp.nes.nec.co.jp> Acked-by: Balbir Singh <balbir(a)linux.vnet.ibm.com> -- Three Cheers, Balbir -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |