Re: [PATCH bpf-next 0/7] Free htab element out of bucket lock

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

 



On 2025-01-08 09:24:02 [+0800], Hou Tao wrote:
> @Sebastian
> Is it possible that softirq_expiry_lock is changed to a raw-spin-lock
> instead ?

No. The point is to PI-boost the timer-task by the task that is
canceling the timer. This is possible if the timer-task got preempted by
the canceling task - both can't be migrated to another CPU and if the
canceling task has higher priority then it will continue to spin and
live lock the system.
Making the expire lock raw would also force every timer to run with
disabled interrupts which would not allow to acquire any spinlock_t
locks.

Sebastian




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux