freebsd-src icon indicating copy to clipboard operation
freebsd-src copied to clipboard

racct_add_racct and racct_sub_racct should be restrict

Open AZero13 opened this issue 7 months ago • 2 comments

It probably will be inlined anyway, but if the compiler knows they do not overlap, then it can help especially when dealing with array math.

AZero13 avatar May 15 '25 01:05 AZero13

Thank you for taking the time to contribute to FreeBSD! There is an issue that needs to be fixed:

  • Missing Signed-off-by linesff94b7ff2fbb9e50c4c4a41a4bae560dd8194ceb

github-actions[bot] avatar May 15 '25 01:05 github-actions[bot]

So the commit message needs some work to explain why restrict is needed.

bsdimp avatar Jul 25 '25 17:07 bsdimp