diff options
author | Ingo Molnar <mingo@kernel.org> | 2016-09-08 14:05:16 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-09-08 14:05:16 +0200 |
commit | 950d8381d915ee293a5b57f91e59dd8115684af1 (patch) | |
tree | 6a611a808da1e28c3db740ac9a54c01757af2e56 /kernel/exit.c | |
parent | 979515c5645830465739254abc1b1648ada41518 (diff) | |
parent | d71f058617564750261b673ea9b3352382b9cde4 (diff) | |
download | op-kernel-dev-950d8381d915ee293a5b57f91e59dd8115684af1.zip op-kernel-dev-950d8381d915ee293a5b57f91e59dd8115684af1.tar.gz |
Merge branch 'linus' into timers/core, to refresh the branch
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 2f974ae..091a78b 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -848,12 +848,7 @@ void do_exit(long code) TASKS_RCU(preempt_enable()); exit_notify(tsk, group_dead); proc_exit_connector(tsk); -#ifdef CONFIG_NUMA - task_lock(tsk); - mpol_put(tsk->mempolicy); - tsk->mempolicy = NULL; - task_unlock(tsk); -#endif + mpol_put_task_policy(tsk); #ifdef CONFIG_FUTEX if (unlikely(current->pi_state_cache)) kfree(current->pi_state_cache); |