Re: [BUG] 2.6.23-rc3-mm1 kernel BUG at mm/page_alloc.c:2876!

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Kamalesh Babulal <kamalesh@...>
Cc: <linux-kernel@...>, Balbir Singh <balbir@...>, Christoph Lameter <clameter@...>, Mel Gorman <mel@...>, <linux-mm@...>
Date: Wednesday, August 22, 2007 - 4:48 pm

On Thu, 23 Aug 2007 01:50:10 +0530
Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> wrote:


Looks like process_zones() got a kmalloc_node() failure and then crashed in
the recovery code.

This:

--- a/mm/page_alloc.c~a
+++ a/mm/page_alloc.c
@@ -2814,6 +2814,8 @@ static int __cpuinit process_zones(int c
 	return 0;
 bad:
 	for_each_zone(dzone) {
+		if (!populated_zone(zone))
+			continue;		
 		if (dzone == zone)
 			break;
 		kfree(zone_pcp(dzone, cpu));
_

might help avoid the crash, but why did kmalloc_node() fail?


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[BUG] 2.6.23-rc3-mm1 kernel BUG at mm/page_alloc.c:2876!, Kamalesh Babulal, (Wed Aug 22, 4:20 pm)
Re: [BUG] 2.6.23-rc3-mm1 kernel BUG at mm/page_alloc.c:2876!, Andrew Morton, (Wed Aug 22, 4:48 pm)
Re: [BUG] 2.6.23-rc3-mm1 kernel BUG at mm/page_alloc.c:2876!, Christoph Lameter, (Wed Aug 22, 5:09 pm)
Re: [BUG] 2.6.23-rc3-mm1 kernel BUG at mm/page_alloc.c:2876!, Kamalesh Babulal, (Thu Aug 23, 1:17 pm)
Re: [BUG] 2.6.23-rc3-mm1 kernel BUG at mm/page_alloc.c:2876!, Christoph Lameter, (Thu Aug 23, 4:05 pm)
Re: [BUG] 2.6.23-rc3-mm1 kernel BUG at mm/page_alloc.c:2876!, Kamalesh Babulal, (Fri Aug 24, 2:15 am)
Re: [BUG] 2.6.23-rc3-mm1 kernel BUG at mm/page_alloc.c:2876!, Christoph Lameter, (Fri Aug 24, 12:54 pm)