diff options
| author | Hui Su <[email protected]> | 2020-10-30 17:32:23 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2021-01-14 10:20:11 +0000 |
| commit | 65bcf072e20ed7597caa902f170f293662b0af3c (patch) | |
| tree | 9f38c6fa85339a674e748e3391e94931ea2b3998 /lib/timerqueue.c | |
| parent | sched/fair: Reduce cases for active balance (diff) | |
| download | kernel-65bcf072e20ed7597caa902f170f293662b0af3c.tar.gz kernel-65bcf072e20ed7597caa902f170f293662b0af3c.zip | |
sched: Use task_current() instead of 'rq->curr == p'
Use the task_current() function where appropriate.
No functional change.
Signed-off-by: Hui Su <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Steven Rostedt (VMware) <[email protected]>
Link: https://lkml.kernel.org/r/20201030173223.GA52339@rlk
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
