diff options
Diffstat (limited to 'kernel/cpuset.c')
-rw-r--r-- | kernel/cpuset.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/cpuset.c b/kernel/cpuset.c index 9a50c5f6e727..db0990ac3fac 100644 --- a/kernel/cpuset.c +++ b/kernel/cpuset.c | |||
@@ -953,8 +953,8 @@ static void cpuset_change_task_nodemask(struct task_struct *tsk, | |||
953 | nodemask_t *newmems) | 953 | nodemask_t *newmems) |
954 | { | 954 | { |
955 | nodes_or(tsk->mems_allowed, tsk->mems_allowed, *newmems); | 955 | nodes_or(tsk->mems_allowed, tsk->mems_allowed, *newmems); |
956 | mpol_rebind_task(tsk, &tsk->mems_allowed); | 956 | mpol_rebind_task(tsk, &tsk->mems_allowed, MPOL_REBIND_ONCE); |
957 | mpol_rebind_task(tsk, newmems); | 957 | mpol_rebind_task(tsk, newmems, MPOL_REBIND_ONCE); |
958 | tsk->mems_allowed = *newmems; | 958 | tsk->mems_allowed = *newmems; |
959 | } | 959 | } |
960 | 960 | ||