/* Is all threads of the target process nodes overlap ours?  */
static int has_intersects_mems_allowed(struct task_struct *tsk)
/* Is all threads of the target process nodes overlap ours?  */
static int has_intersects_mems_allowed(struct task_struct *tsk)
{
	struct task_struct *t;
	t = tsk;
	do {
		if (cpuset_mems_allowed_intersects(current, t))
			return 1;
		t = next_thread(t);
	} while (t != tsk);
	return 0;
}