diff options
author | Barry Song <song.bao.hua@hisilicon.com> | 2021-10-16 19:11:09 +0800 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-12-07 15:14:10 +0100 |
commit | 2917406c352757642c3c1a13a4c99c96e6d22fde (patch) | |
tree | 5b3dc47b074fd18d268660b51b299eff8e92498a /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 014ba44e8184e1acf93e0cbb7089ee847802f8f0 (diff) |
sched/fair: Document the slow path and fast path in select_task_rq_fair
All People I know including myself took a long time to figure out that
typical wakeup will always go to fast path and never go to slow path
except WF_FORK and WF_EXEC.
Vincent reminded me once in a linaro meeting and made me understand
slow path won't happen for WF_TTWU. But my other friends repeatedly
wasted a lot of time on testing this path like me before I reminded
them.
So obviously the code needs some document.
Signed-off-by: Barry Song <song.bao.hua@hisilicon.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20211016111109.5559-1-21cnbao@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions