BUG_ON(num >= max); 
static struct zonelist *bind_zonelist(nodemask_t *nodes){	struct zonelist *zl;	int num, max, nd;	max = 1 + MAX_NR_ZONES * nodes_weight(*nodes);	zl = kmalloc(sizeof(void *) * max, GFP_KERNEL);	if (!zl)		return NULL;	num = 0;	for_each_node_mask(nd, *nodes) {		int k;		for (k = MAX_NR_ZONES-1; k >= 0; k--) {			struct zone *z = &NODE_DATA(nd)->node_zones[k];			if (!z->present_pages)				continue;			zl->zones[num++] = z;			if (k > policy_zone)				policy_zone = k;		}	}	BUG_ON(num >= max);	zl->zones[num] = NULL;	return zl;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/662f3a0b94cc92bd708c27b80f8207cd7db93204/mempolicy.c/buggy/mm/mempolicy.c