diff options
author | Peter Zijlstra <peterz@infradead.org> | 2020-10-29 16:28:25 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-11-09 18:12:35 +0100 |
commit | 8c7855d82933bab7fa5e96f0e568fc125c2e1ab4 (patch) | |
tree | b581df61d457e3c23083e748f2bb8b572824563e /mm/usercopy.c | |
parent | e506d1dac0edb2df82f2aa0582e814f9cd9aa07d (diff) |
perf: Simplify group_sched_out()
Since event_sched_out() clears cpuctx->exclusive upon removal of an
exclusive event (and only group leaders can be exclusive), there is no
point in group_sched_out() trying to do it too. It is impossible for
cpuctx->exclusive to still be set here.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20201029162901.904060564@infradead.org
Diffstat (limited to 'mm/usercopy.c')
0 files changed, 0 insertions, 0 deletions