Re: [PATCH bpf v1] bpf: Use architecture provided res_smp_cond_load_acquire

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

 



On Thu, Apr 10, 2025 at 7:55 AM Kumar Kartikeya Dwivedi
<memxor@xxxxxxxxx> wrote:
>
> In v2 of rqspinlock [0], we fixed potential problems with WFE usage in
> arm64 to fallback to a version copied from Ankur's series [1]. This
> logic was moved into arch-specific headers in v3 [2].
>
> However, we missed using the arch-provided res_smp_cond_load_acquire
> in commit ebababcd0372 ("rqspinlock: Hardcode cond_acquire loops for arm64")
> due to a rebasing mistake between v2 and v3 of the rqspinlock series.
> Fix the typo to fallback to the arm64 definition as we did in v2.
>
>   [0]: https://lore.kernel.org/bpf/20250206105435.2159977-18-memxor@xxxxxxxxx
>   [1]: https://lore.kernel.org/lkml/20250203214911.898276-1-ankur.a.arora@xxxxxxxxxx
>   [2]: https://lore.kernel.org/bpf/20250303152305.3195648-9-memxor@xxxxxxxxx
>
> Fixes: ebababcd0372 ("rqspinlock: Hardcode cond_acquire loops for arm64")
> Signed-off-by: Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx>
> ---
>  arch/arm64/include/asm/rqspinlock.h | 2 +-
>  kernel/bpf/rqspinlock.c             | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

This one and two other selftest patches were applied.





[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