Re: [PATCH v3] ARM, ARM64, LONGARCH, XTENSA: Delay HW BP notification to task_work()

From: Ada Couprie Diaz

Date: Fri Oct 09 2026 - 09:22:52 EST


Hi Sebastian,

On 08/10/2026 20:21, Sebastian Andrzej Siewior wrote:
On 2026-10-06 18:17:52 [+0100], Ada Couprie Diaz wrote:
Hi Sebastian,
Hi Ada,

I find the function names a bit counter-intuitive, compared to the other
arch-specific perf functions.
Given the name `perf_arch_...`, I would have expected them to be defined
in arch code, rather than in the generic perf code.
From what I can see, usually perf functions calling an arch-specific
function lack the `_arch_` infix of their `arch_` counterpart.

I do not know very well what we expect in perf, so I might be off-base,
but would calling them `perf_hwbp_send_sig()` and `perf_hwbp_notify()`
make sense ?
Thanks for looking at this. I renamed them as:
- perf_arch_hwbp_notify() -> perf_hwbp_notify() (generic)
- arch_hwbp_send_sig() -> perf_arch_hwbp_send_sig() (arch specific)
- perf_arch_hwbp_send_sig() -> perf_hwbp_send_sig() (generic)

[...]

Sebastian
That sounds good to me, thanks !
Kind regards
Ada