login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
December
»
7
Re: [PATCH] compaction: Remove mem_cgroup_del_lru
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Minchan Kim
Subject:
Re: [PATCH] compaction: Remove mem_cgroup_del_lru
Date: Tuesday, December 7, 2010 - 3:19 pm
On Wed, Dec 8, 2010 at 6:53 AM, Andrew Morton <akpm@linux-foundation.org> wrote:
quoted text
> On Wed, 8 Dec 2010 00:01:26 +0900 > Minchan Kim <minchan.kim@gmail.com> wrote: > >> del_page_from_lru_list alreay called mem_cgroup_del_lru. >> So we need to call it again. It makes wrong stat of memcg and >> even happen VM_BUG_ON hit. >> >> Cc: Balbir Singh <balbir@linux.vnet.ibm.com> >> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> >> Cc: Mel Gorman <mel@csn.ul.ie> >> Signed-off-by: Minchan Kim <minchan.kim@gmail.com> >> --- >> mm/compaction.c | 1 - >> 1 files changed, 0 insertions(+), 1 deletions(-) >> >> diff --git a/mm/compaction.c b/mm/compaction.c >> index 50b0a90..b0fbfdf 100644 >> --- a/mm/compaction.c >> +++ b/mm/compaction.c >> @@ -302,7 +302,6 @@ static unsigned long isolate_migratepages(struct zone *zone, >> /* Successfully isolated */ >> del_page_from_lru_list(zone, page, page_lru(page)); >> list_add(&page->lru, migratelist); >> - mem_cgroup_del_lru(page); >> cc->nr_migratepages++; >> nr_isolated++; >> > > err, yes, that looks bad. > > This bug is present in 2.6.35 and 2.6.36 afaict, so I tagged the fix > for -stable backporting.
Thanks, Andrew.
quoted text
> >
-- Kind regards, Minchan Kim --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] compaction: Remove mem_cgroup_del_lru
, Minchan Kim
, (Tue Dec 7, 8:01 am)
Re: [PATCH] compaction: Remove mem_cgroup_del_lru
, Balbir Singh
, (Tue Dec 7, 8:17 am)
Re: [PATCH] compaction: Remove mem_cgroup_del_lru
, Andrew Morton
, (Tue Dec 7, 2:53 pm)
Re: [PATCH] compaction: Remove mem_cgroup_del_lru
, Minchan Kim
, (Tue Dec 7, 3:19 pm)
Re: [PATCH] compaction: Remove mem_cgroup_del_lru
, KAMEZAWA Hiroyuki
, (Tue Dec 7, 5:59 pm)
Re: [PATCH] compaction: Remove mem_cgroup_del_lru
, Mel Gorman
, (Wed Dec 8, 3:29 am)
Re: [PATCH] compaction: Remove mem_cgroup_del_lru
, Johannes Weiner
, (Wed Dec 8, 9:43 am)
Re: [PATCH] compaction: Remove mem_cgroup_del_lru
, Minchan Kim
, (Wed Dec 8, 3:25 pm)
Re: [PATCH] compaction: Remove mem_cgroup_del_lru
, Minchan Kim
, (Thu Dec 9, 7:59 am)
Navigation
Mailing list archives
Recent posts
P