struct mempolicy *pol = get_vma_policy(vma, addr);
struct mempolicy *pol = get_vma_policy(current, vma, addr);
int mpol_node_valid(int nid, struct vm_area_struct *vma, unsigned long addr){	struct mempolicy *pol = get_vma_policy(vma, addr);	switch (pol->policy) {	case MPOL_PREFERRED:	case MPOL_DEFAULT:	case MPOL_INTERLEAVE:		return 1;	case MPOL_BIND: {		struct zone **z;		for (z = pol->v.zonelist->zones; *z; z++)			if ((*z)->zone_pgdat->node_id == nid)				return 1;		return 0;	}	default:		BUG();		return 0;	}}