Re: [PATCH 1/2] net: Assert proper context while calling napi_schedule()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 17 Feb 2025 08:46:21 -0800 Breno Leitao wrote:
> I think a better solution is to do something as:
> 
> 	if (!hrtimer_active(&rq->napi_timer))
> 		hrtimer_start(&rq->napi_timer, us_to_ktime(5), HRTIMER_MODE_REL);

sounds good




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux