[RESEND PATCH v2 05/19] io_uring: Remove redundant hrtimer's callback function setup

2024-11-01 Thread Nam Cao
The IORING_OP_TIMEOUT command uses hrtimer underneath. The timer's callback function is setup in io_timeout(), and then the callback function is setup again when the timer is rearmed. Since the callback function is the same for both cases, the latter setup is redundant, therefore remove it. Signe

Re: [RESEND PATCH v2 05/19] io_uring: Remove redundant hrtimer's callback function setup

2024-10-31 Thread Jens Axboe
On 10/31/24 9:14 AM, Nam Cao wrote: > The IORING_OP_TIMEOUT command uses hrtimer underneath. The timer's callback > function is setup in io_timeout(), and then the callback function is setup > again when the timer is rearmed. > > Since the callback function is the same for both cases, the latter s