Jason A. Harmening d22883d715 Remove PCPU_INC
e4b8deb22227 removed the last in-tree uses of PCPU_INC().  Its
potential benefit is also practically nonexistent.  Non-x86
platforms already implement it as PCPU_ADD(..., 1), and according
to [0] there are no recent x86 processors for which the 'inc'
instruction provides a performance benefit over the equivalent
memory-operand form of the 'add' instruction.  The only remaining
benefit of 'inc' is smaller instruction size, which in this case
is inconsequential given the limited number of per-CPU data consumers.

[0]: https://www.agner.org/optimize/instruction_tables.pdf

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D29308
2021-03-20 19:23:59 -07:00
..
2019-12-04 16:56:11 +00:00
2018-04-12 17:43:19 +00:00
2020-09-21 22:21:59 +00:00
2019-08-29 07:25:27 +00:00
2021-03-20 19:23:59 -07:00
2019-12-10 18:14:50 +00:00