[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b6f4b197-becb-4150-8986-2c568f7e738c@kernel.dk>
Date: Sat, 8 Feb 2025 08:18:36 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Thomas Gleixner <tglx@...utronix.de>, Nam Cao <namcao@...utronix.de>,
Anna-Maria Behnsen <anna-maria@...utronix.de>,
Frederic Weisbecker <frederic@...nel.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] hrtimers: Make hrtimer_update_function() less expensive
On 2/7/25 2:16 PM, Thomas Gleixner wrote:
> 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.
Looks good to me, thanks Thomas. On my side, I always have a debug run
done with PROVE_LOCKING and KASAN, fwiw.
--
Jens Axboe
Powered by blists - more mailing lists