lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 30 Nov 2012 13:10:36 +0900 From: Kamezawa Hiroyuki <kamezawa.hiroyu@...fujitsu.com> To: Michal Hocko <mhocko@...e.cz> CC: linux-mm@...ck.org, linux-kernel@...r.kernel.org, Johannes Weiner <hannes@...xchg.org>, Ying Han <yinghan@...gle.com>, Tejun Heo <htejun@...il.com>, Glauber Costa <glommer@...allels.com>, Li Zefan <lizefan@...wei.com> Subject: Re: [patch v2 5/6] memcg: further simplify mem_cgroup_iter (2012/11/27 3:47), Michal Hocko wrote: > mem_cgroup_iter basically does two things currently. It takes care of > the house keeping (reference counting, raclaim cookie) and it iterates > through a hierarchy tree (by using cgroup generic tree walk). > The code would be much more easier to follow if we move the iteration > outside of the function (to __mem_cgrou_iter_next) so the distinction > is more clear. > This patch doesn't introduce any functional changes. > > Signed-off-by: Michal Hocko <mhocko@...e.cz> Very nice look ! Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists