aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorAnna-Maria Behnsen <[email protected]>2024-10-09 10:29:06 +0200
committerThomas Gleixner <[email protected]>2024-10-25 19:49:14 +0200
commit5aa6c43eca21a929ace6a8e31ab3520ddc50dfa9 (patch)
tree88bd6a6998adfbcc535396c54f24c9e3e48ae29b /tools/perf/scripts/python/task-analyzer.py
parent1d72d7b5fd53592342db9c9d7d0fde14a883c2c4 (diff)
timekeeping: Split out timekeeper update of timekeeping_advanced()
timekeeping_advance() is the only optimized function which uses shadow_timekeeper for updating the real timekeeper to keep the sequence counter protected region as small as possible. To be able to transform timekeeper updates in other functions to use the same logic, split out functionality into a separate function timekeeper_update_staged(). While at it, document the reason why the sequence counter must be write held over the call to timekeeping_update() and the copying to the real timekeeper and why using a pointer based update is suboptimal. No functional change. Signed-off-by: Anna-Maria Behnsen <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: John Stultz <[email protected]> Link: https://lore.kernel.org/all/20241009-devel-anna-maria-b4-timers-ptp-timekeeping-v2-13-554456a44a15@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions