Skip to content
Commit 78b132e9 authored by Wei Yang's avatar Wei Yang Committed by Linus Torvalds
Browse files

mm/mempolicy: remove or narrow the lock on current



It is not necessary to hold the lock of current when setting nodemask of
a new policy.

Signed-off-by: default avatarWei Yang <richard.weiyang@linux.alibaba.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Reviewed-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Link: https://lkml.kernel.org/r/20200921040416.86185-1-richard.weiyang@linux.alibaba.com


Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 11002620
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment