diff --git a/mm/mempolicy.c b/mm/mempolicy.c index 88f9422b92e73afc2be25161f20a7957d4a54160..a388888b6fcf77f88481dfb6fe1480e83f9c50d7 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c @@ -390,7 +390,7 @@ static void mpol_rebind_policy(struct mempolicy *pol, const nodemask_t *newmask, { if (!pol) return; - if (!mpol_store_user_nodemask(pol) && step == 0 && + if (!mpol_store_user_nodemask(pol) && step == MPOL_REBIND_ONCE && nodes_equal(pol->w.cpuset_mems_allowed, *newmask)) return;