Re: [PATCH v7 1/9] rust: Introduce atomic API helpers

From
Miguel Ojeda <hidden>
Date
2025-07-16 12:56:53
Also in
linux-arch, lkml
Reply to
Peter Zijlstra, 2025-07-16
On Wed, Jul 16, 2025 at 2:47 PM Peter Zijlstra [off-list ref] wrote:
It depends on the scripts/atomic/* bits. They hardly if ever change. We
do it this way because:

 - generating these files every build is 'slow'-ish;
 - code navigation suffers;
 - Linus asked for this.

Specifically, pretty much the entire atomic_*() namespace would
disappear from ctags / code-browsing-tool-of-choice if we would not
check in these files.
Makes sense, thanks. The Rust helpers one may not be the end of the
world in terms of code navigation (since people will use the Rust
abstractions and nobody should call the helpers from C), but since it
is just 1 more script in the list, I think it is best to keep it as it
is.

Cheers,
Miguel
Thread (50 messages) 50 messages, 5 authors, last reply 2025-07-16
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