* + memcg-code-cleanrm-unused-variable-in-mem_cgroup_resize_limit.patch added to -mm tree
@ 2009-12-07 23:10 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2009-12-07 23:10 UTC (permalink / raw)
To: mm-commits; +Cc: lliubbo, balbir, nishimura
The patch titled
memcg: code clean, remove unused variable in mem_cgroup_resize_limit()
has been added to the -mm tree. Its filename is
memcg-code-cleanrm-unused-variable-in-mem_cgroup_resize_limit.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: memcg: code clean, remove unused variable in mem_cgroup_resize_limit()
From: Bob Liu <lliubbo@gmail.com>
Variable `progress' isn't used in mem_cgroup_resize_limit() any more.
Remove it.
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Reviewed-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/memcontrol.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff -puN mm/memcontrol.c~memcg-code-cleanrm-unused-variable-in-mem_cgroup_resize_limit mm/memcontrol.c
--- a/mm/memcontrol.c~memcg-code-cleanrm-unused-variable-in-mem_cgroup_resize_limit
+++ a/mm/memcontrol.c
@@ -2311,7 +2311,6 @@ static int mem_cgroup_resize_limit(struc
unsigned long long val)
{
int retry_count;
- int progress;
u64 memswlimit;
int ret = 0;
int children = mem_cgroup_count_children(memcg);
@@ -2355,7 +2354,7 @@ static int mem_cgroup_resize_limit(struc
if (!ret)
break;
- progress = mem_cgroup_hierarchical_reclaim(memcg, NULL,
+ mem_cgroup_hierarchical_reclaim(memcg, NULL,
GFP_KERNEL,
MEM_CGROUP_RECLAIM_SHRINK);
curusage = res_counter_read_u64(&memcg->res, RES_USAGE);
_
Patches currently in -mm which might be from lliubbo@gmail.com are
memcg-code-cleanrm-unused-variable-in-mem_cgroup_resize_limit.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-12-07 23:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-07 23:10 + memcg-code-cleanrm-unused-variable-in-mem_cgroup_resize_limit.patch added to -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).