Re: [PATCH v10 1/5] rust: add static_branch_unlikely for static_key_false

From: Miguel Ojeda
Date: Fri Oct 11 2024 - 15:48:56 EST


On Fri, Oct 11, 2024 at 7:52 PM Sami Tolvanen <samitolvanen@xxxxxxxxxx> wrote:
>
> It's just one line per helper, but sure, I do see your point.

I guess we will have a lot of helpers added over time, so even if it
is one line, it may end up being a lot of lines in total. The rules
should stay constant, which would be better. Having said that, it is
true the extra complexity of the rules isn't great either.

Cheers,
Miguel