Messages in this thread Patch in this message |  | | | Date | Mon, 28 Jun 2004 16:12:56 -0700 | | From | Andrew Morton <> | | Subject | Re: 2.6.7-mm3: Kernel BUG on dual Opteron with DEBUG_SLAB |
| |
"R. J. Wysocki" <rjwysocki@sisk.pl> wrote: > > Kernel BUG at mempolicy:585
OK, this is a straight use-after-free bug:
--- 25/mm/mempolicy.c~a 2004-06-28 15:46:42.000000000 -0700 +++ 25-akpm/mm/mempolicy.c 2004-06-28 15:48:25.000000000 -0700 @@ -582,7 +582,7 @@ static struct zonelist *zonelist_policy( break; default: nd = 0; - BUG(); + printk("%s: policy=%x\n", __FUNCTION__, policy->policy); } return NODE_DATA(nd)->node_zonelists + (gfp & GFP_ZONEMASK); } linux:/home/akpm> dmesg -s 1000000|grep zonelist Built 1 zonelists zonelist_policy: policy=6b6b zonelist_policy: policy=6b6b Andi, could you take a look? Enabling CONFIG_DEBUG_SLAB and CONFIG_NUMA triggers it 100% of the time. - 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/
|  |