On Mon, Mar 07, 2022 at 06:45:56PM +0700, Ammar Faizi wrote:
In order to take maximum advantage of out-of-order execution,
avoid using INC/DEC instructions when appropriate. INC/DEC only
writes to part of the flags register, which can cause a partial
flag register stall. This series replaces INC/DEC with ADD/SUB.
"Improvements" like that need to show in benchmark runs - not
microbenchmark - that they bring anything. Just by looking at them, I'd
say they won't show any difference. But I'm always open to surprises.
Btw, you don't have to send all your patches directly to me - there are
other x86 maintainers. IOW, you can use scripts/get_maintainer.pl to
figure out who to send them to.
Also, I'd advise going over Documentation/process/ if you're new to this.I might've missed the benchmark backup part. Will review those documents again.
Especially Documentation/process/submitting-patches.rst.