diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2025-02-07 22:16:09 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2025-02-10 20:51:12 +0100 |
commit | 2ea97b76d6712bfb0408e5b81ffd7bc4551d3153 (patch) | |
tree | 6cfb9fbd925c6c3b2a61a3b55234b08eaa01c5d5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a64dcfb451e254085a7daee5fe51bf22959d52d3 (diff) |
hrtimers: Make hrtimer_update_function() less expensive
The sanity checks in hrtimer_update_function() are expensive for high
frequency usage like in the io/uring code due to locking.
Hide the sanity checks behind CONFIG_PROVE_LOCKING, which has a decent
chance to be enabled on a regular basis for testing.
Fixes: 8f02e3563bb5 ("hrtimers: Introduce hrtimer_update_function()")
Reported-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/87ikpllali.ffs@tglx
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions