Files
linux/lib
Mateusz Guzik c439d5e8a0 pcpcntr: add group allocation/free
Allocations and frees are globally serialized on the pcpu lock (and the
CPU hotplug lock if enabled, which is the case on Debian).

At least one frequent consumer allocates 4 back-to-back counters (and
frees them in the same manner), exacerbating the problem.

While this does not fully remedy scalability issues, it is a step
towards that goal and provides immediate relief.

Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Reviewed-by: Dennis Zhou <dennis@kernel.org>
Reviewed-by: Vegard Nossum <vegard.nossum@oracle.com>
Link: https://lore.kernel.org/r/20230823050609.2228718-2-mjguzik@gmail.com
[Dennis: reflowed a few lines]
Signed-off-by: Dennis Zhou <dennis@kernel.org>
2023-08-25 08:06:53 -07:00
..
2023-06-13 15:13:20 -07:00
2023-06-09 17:44:13 -07:00
2023-04-08 13:45:37 -07:00
2023-02-02 22:50:01 -08:00
2023-02-02 22:50:01 -08:00
2023-02-15 15:44:43 +01:00
2023-03-19 10:02:04 -07:00
2022-10-03 14:03:21 -07:00
2023-04-17 18:01:23 +02:00
2022-10-03 17:34:32 -07:00
2023-07-21 11:40:20 -06:00
2023-05-31 12:58:38 +02:00