bitmap_copy(policy->v.nodes, nodes, MAX_NUMNODES); 
policy->v.nodes = *nodes; 
static struct mempolicy *mpol_new(int mode, unsigned long *nodes){	struct mempolicy *policy;	PDprintk("setting mode %d nodes[0] %lx\n", mode, nodes[0]);	if (mode == MPOL_DEFAULT)		return NULL;	policy = kmem_cache_alloc(policy_cache, GFP_KERNEL);	if (!policy)		return ERR_PTR(-ENOMEM);	atomic_set(&policy->refcnt, 1);	switch (mode) {	case MPOL_INTERLEAVE:		bitmap_copy(policy->v.nodes, nodes, MAX_NUMNODES);		break;	case MPOL_PREFERRED:		policy->v.preferred_node = find_first_bit(nodes, MAX_NUMNODES);		if (policy->v.preferred_node >= MAX_NUMNODES)			policy->v.preferred_node = -1;		break;	case MPOL_BIND:		policy->v.zonelist = bind_zonelist(nodes);		if (policy->v.zonelist == NULL) {			kmem_cache_free(policy_cache, policy);			return ERR_PTR(-ENOMEM);		}		break;	}	policy->policy = mode;	return policy;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/dfcd3c0dc426bb75770c34b40e14f2da8845ea62/mempolicy.c/buggy/mm/mempolicy.c