Re: [PATCH bpf-next] bpf/bpf_lru_list: make bpf_common_lru_pop_free safe in NMI

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

 



On Wed, Aug 21, 2024 at 2:30 PM Priya Bala Govindasamy <pgovind2@xxxxxxx> wrote:
>
> bpf_common_lru_pop_free uses raw_spin_lock_irqsave. This function is
> used by htab_lru_map_update_elem() which can be called from an
> NMI. A deadlock can happen if a bpf program holding the lock is
> interrupted by the same program in NMI. Use raw_spin_trylock_irqsave if
> in NMI.
>
> Fixes: 3a08c2fd7634 (bpf: LRU list)
> Signed-off-by: Priya Bala Govindasamy <pgovind2@xxxxxxx>
> Signed-off-by: Amery Hung <ameryhung@xxxxxxxxx>

Nothing changed since last time exact same patch was posted,
so same nack as before.
pw-bot: cr





[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