Re: [PATCH v14 06/14] HWBP: Add modify_local_hw_breakpoint_addr() API

From
Masami Hiramatsu (Google) <mhiramat@kernel.org>
Date
2026-09-06 15:43:25
Also in
linux-perf-users, sashiko-reviews
Reply to
sashiko-bot@kernel.org, 2026-08-30
On Sun, 30 Aug 2026 14:40:56 +0000
sashiko-bot@kernel.org wrote:
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Lockless updates to `bp->attr.bp_addr` and `counter_arch_bp(bp)->address` lack `WRITE_ONCE()`, constituting a formal data race under the Linux Kernel Memory Model.
Ah, good catch! Let me add WRITE_ONCE() there.

Thank you,

-- 
Masami Hiramatsu (Google) [off-list ref]
Thread (36 messages) 36 messages, 2 authors, last reply 2026-09-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help