public inbox for io-uring@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH 16/31] io_uring/timeout: Switch to use hrtimer_setup()
       [not found] ` <8bc0762e419b6fd1d0a0da31a187d19826d71187.1729864823.git.namcao@linutronix.de>
@ 2025-05-02  8:50   ` Pavel Begunkov
  0 siblings, 0 replies; only message in thread
From: Pavel Begunkov @ 2025-05-02  8:50 UTC (permalink / raw)
  To: Nam Cao, Anna-Maria Behnsen, Frederic Weisbecker, Thomas Gleixner,
	Andreas Hindborg, Alice Ryhl, Miguel Ojeda, Kees Cook,
	linux-kernel, io-uring
  Cc: Jens Axboe

On 10/28/24 07:31, Nam Cao wrote:
> There is a newly introduced hrtimer_setup() which will replace
> hrtimer_init(). This new function is similar to the old one, except that it
> also sanity-checks and initializes the timer's callback function.
> 
> Switch to use the new function.
> 
> This new function is also used to initialize the callback function in
> .prep() (the callback function depends on whether it is IORING_OP_TIMEOUT
> or IORING_OP_LINK_TIMEOUT). Thus, callback function setup in io_timeout()
> and io_queue_linked_timeout() are now redundant, therefore remove them.

Next time do the basic courtesy of CC'ing io_uring mailing list if
you're sending io_uring patches, so that people don't have to guess
months later why there is an unknown patch in the tree and where the
hell did it came from.

-- 
Pavel Begunkov


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-05-02  8:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <cover.1729864823.git.namcao@linutronix.de>
     [not found] ` <8bc0762e419b6fd1d0a0da31a187d19826d71187.1729864823.git.namcao@linutronix.de>
2025-05-02  8:50   ` [PATCH 16/31] io_uring/timeout: Switch to use hrtimer_setup() Pavel Begunkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox