diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2022-01-27 03:01:26 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2022-04-12 01:31:02 +0300 |
commit | aeb9b39b8f4aac1233302c53a1fd99a73fd2c262 (patch) | |
tree | f299000c5b04d6ab907fe633d18d0f4a2b7e43b9 /scripts/gdb/linux/utils.py | |
parent | 3bedebcf63c2ad7396f1be138bbef91a402f33cd (diff) | |
download | linux-aeb9b39b8f4aac1233302c53a1fd99a73fd2c262.tar.xz |
srcu: Compute snp_seq earlier in srcu_funnel_gp_start()
Currently, srcu_funnel_gp_start() tests snp->srcu_have_cbs[idx] and then
separately assigns it to the snp_seq local variable. This commit does
the assignment earlier to simplify the code a bit. While in the area,
this commit also takes advantage of the 100-character line limit to put
the call to srcu_schedule_cbs_sdp() on a single line.
Co-developed-by: Neeraj Upadhyay <quic_neeraju@quicinc.com>
Signed-off-by: Neeraj Upadhyay <quic_neeraju@quicinc.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions