mm-memcontrolc-introduce-helper-mem_cgroup_zoneinfo_zone.patch removed from -mm tree
Subsystems (2)
[email protected]
maintainerSubject: [nacked] mm-memcontrolc-introduce-helper-mem_cgroup_zoneinfo_zone.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 02 May 2014 15:05:48 -0700
The patch titled
Subject: mm/memcontrol.c: introduce helper mem_cgroup_zoneinfo_zone()
has been removed from the -mm tree. Its filename was
mm-memcontrolc-introduce-helper-mem_cgroup_zoneinfo_zone.patch
This patch was dropped because it was nacked
------------------------------------------------------
From: Jianyu Zhan <[email protected]>
Subject: mm/memcontrol.c: introduce helper mem_cgroup_zoneinfo_zone()
Introduce helper mem_cgroup_zoneinfo_zone(). This makes mem_cgroup_iter() code more compact.
---
mm/memcontrol.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-)
mm/memcontrol.c renamed from mm/memcontrol.c~mm-memcontrolc-introduce-helper-mem_cgroup_zoneinfo_zone +11 -4
@@ -683,6 +683,15 @@ mem_cgroup_zoneinfo(struct mem_cgroup *mreturn &memcg->nodeinfo[nid]->zoneinfo[zid]; } +static struct mem_cgroup_per_zone * +mem_cgroup_zoneinfo_zone (struct mem_cgroup *memcg,struct zone *zone) +{ +int nid =zone_to_nid (zone); +int zid =zone_idx (zone); + +return mem_cgroup_zoneinfo (memcg, nid, zid); +} +struct cgroup_subsys_state *mem_cgroup_css (struct mem_cgroup *memcg) {return &memcg->css;
@@ -1234,11 +1243,9 @@ struct mem_cgroup *mem_cgroup_iter(strucint uninitialized_var (seq );if (reclaim) { -int nid =zone_to_nid (reclaim->zone); -int zid =zone_idx (reclaim->zone);struct mem_cgroup_per_zone *mz; - mz =mem_cgroup_zoneinfo (root, nid, zid); + mz =mem_cgroup_zoneinfo_zone (root, reclaim->zone); iter = &mz->reclaim_iter[reclaim->priority];if (prev && reclaim->generation != iter->generation) { iter->last_visited =NULL ;
@@ -1345,7 +1352,7 @@ struct lruvec *mem_cgroup_zone_lruvec(st goto out; } - mz =mem_cgroup_zoneinfo (memcg,zone_to_nid (zone),zone_idx (zone)); + mz =mem_cgroup_zoneinfo_zone (memcg, zone); lruvec = &mz->lruvec; out:/*
_
Patches currently in -mm which might be from [email protected] are
mm-swapc-clean-up-lru_cache_add-functions.patch mm-swapc-introduce-put_refcounted_compound_page-helpers-for-spliting-put_compound_page.patch mm-swapc-split-put_compound_page-function.patch mm-introdule-compound_head_by_tail.patch
linux-next.patch