Eric Dumazet
cf86a086a1
net/dst: use a smaller percpu_counter batch for dst entries accounting
...
percpu_counter_add() uses a default batch size which is quite big
on platforms with 256 cpus. (2*256 -> 512)
This means dst_entries_get_fast() can be off by +/- 2*(nr_cpus^2)
(131072 on servers with 256 cpus)
Reduce the batch size to something more reasonable, and
add logic to ip6_dst_gc() to call dst_entries_get_slow()
before calling the _very_ expensive fib6_run_gc() function.
Signed-off-by: Eric Dumazet <edumazet@google.com >
Signed-off-by: Jakub Kicinski <kuba@kernel.org >
2020-05-08 21:33:33 -07:00
..
2020-02-29 15:53:35 -08:00
2020-03-25 11:30:40 -07:00
2019-03-27 13:49:44 -07:00
2019-10-24 14:53:49 -07:00
2020-03-29 22:32:36 -07:00
2020-05-04 12:05:56 -07:00
2020-05-06 22:10:13 -07:00
2020-05-01 15:45:16 -07:00
2019-05-30 11:26:32 -07:00
2020-05-08 21:33:33 -07:00
2019-04-10 22:12:26 -07:00
2019-10-04 11:10:56 -07:00
2020-02-16 18:38:24 -08:00
2020-05-01 12:44:28 -07:00
2020-02-24 16:20:09 -08:00
2020-03-27 18:41:52 +01:00
2019-11-06 21:51:36 -08:00
2020-04-28 14:39:46 -07:00
2019-03-10 11:07:14 -07:00
2019-06-09 19:40:10 -07:00
2020-04-20 12:43:24 -07:00
2020-03-29 22:30:57 -07:00
2020-03-29 22:30:57 -07:00
2019-12-12 17:07:05 -08:00
2020-05-06 22:10:13 -07:00
2020-03-27 19:40:38 -07:00
2019-10-01 14:47:19 -07:00
2020-04-23 12:43:20 -07:00
2020-02-26 20:07:25 -08:00
2019-06-19 11:23:13 -04:00
2020-04-21 15:44:30 -07:00
2019-05-30 11:26:32 -07:00
2020-05-07 18:11:07 -07:00
2019-11-12 08:18:03 -08:00
2020-03-29 21:49:20 -07:00
2020-04-30 12:56:37 -07:00
2019-06-05 17:36:38 +02:00
2019-10-13 10:13:08 -07:00
2020-04-27 11:14:07 -07:00
2019-11-15 14:38:29 +01:00
2019-05-21 10:50:45 +02:00
2020-05-01 15:19:59 -07:00
2020-02-24 16:20:09 -08:00
2019-08-09 13:14:46 -07:00
2020-04-29 23:30:59 +02:00
2020-02-21 22:29:45 +01:00
2020-05-07 18:17:32 -07:00
2019-08-19 13:07:43 -07:00
2020-04-27 02:07:40 -04:00
2019-12-25 19:51:33 -08:00
2019-07-22 20:47:56 -07:00
2020-01-24 20:54:30 +01:00
2020-02-20 10:09:25 -08:00