summaryrefslogtreecommitdiff
path: root/include/linux/compiler-clang.h
diff options
context:
space:
mode:
authorVinayak Menon <vinmenon@codeaurora.org>2015-05-21 17:12:37 +0530
committerKyle Yan <kyan@codeaurora.org>2016-06-29 15:11:56 -0700
commit9ff04770060db13d7d6dcfad1d0d72b4f04eaf26 (patch)
tree1c1ac539a0ee7f37bc4570059723e92fa59238f2 /include/linux/compiler-clang.h
parent1ad1a93af4bcd68bd3beb526ec2d64495bc9ce64 (diff)
mm: process_reclaim: do not iterate over stale task structs
swap_fn iterates through the threads of selected tasks after a rcu_read_unlock which is wrong. But we can't extend the rcu_read_lock since it will result in severe performance issues. So better avoid iterating over the threads. Just lock the group leader and use it further. Change-Id: I36269b1b6619315f33f6f3b49ec73571a66796f2 Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Diffstat (limited to 'include/linux/compiler-clang.h')
0 files changed, 0 insertions, 0 deletions