aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorFrederic Weisbecker <[email protected]>2021-04-02 01:47:03 +0200
committerPaul E. McKenney <[email protected]>2021-05-10 16:03:34 -0700
commit94df76a1971d9c61eb2c67ae10cc294b68cbd03b (patch)
tree6c11ceb8d4783c6b8d8c677b8112b5350fcdfe28 /scripts/gdb/linux/timerlist.py
parent6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff)
srcu: Remove superfluous sdp->srcu_lock_count zero filling
Because alloc_percpu() zeroes out the allocated memory, there is no need to zero-fill newly allocated per-CPU memory. This commit therefore removes the loop zeroing the ->srcu_lock_count and ->srcu_unlock_count arrays from init_srcu_struct_nodes(). This is the only use of that function's is_static parameter, which this commit also removes. Signed-off-by: Frederic Weisbecker <[email protected]> Cc: Boqun Feng <[email protected]> Cc: Lai Jiangshan <[email protected]> Cc: Neeraj Upadhyay <[email protected]> Cc: Josh Triplett <[email protected]> Cc: Joel Fernandes <[email protected]> Cc: Uladzislau Rezki <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions