diff options
author | Alex Shi <[email protected]> | 2020-01-02 18:07:52 +0800 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2020-01-17 10:19:21 +0100 |
commit | 9dec1b6949ae9509cdc3edb2d75fda39c9db9fa2 (patch) | |
tree | 6e2aa144c5ce405310f67011d43c82ac6f7ce56c /scripts/bpf_helpers_doc.py | |
parent | 35f4cd96f5551dc1b2641159e7bb7bf91de6600f (diff) |
sched/cputime: move rq parameter in irqtime_account_process_tick
Every time we call irqtime_account_process_tick() is in a interrupt,
Every caller will get and assign a parameter rq = this_rq(), This is
unnecessary and increase the code size a little bit. Move the rq getting
action to irqtime_account_process_tick internally is better.
base with this patch
cputime.o 578792 bytes 577888 bytes
Signed-off-by: Alex Shi <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions