Jason Xing fd9c31f834 udp: introduce __sk_mem_schedule() usage
Keep the accounting schema consistent across different protocols
with __sk_mem_schedule(). Besides, it adjusts a little bit on how
to calculate forward allocated memory compared to before. After
applied this patch, we could avoid receive path scheduling extra
amount of memory.

Link: https://lore.kernel.org/lkml/20230221110344.82818-1-kerneljasonxing@gmail.com/
Signed-off-by: Jason Xing <kernelxing@tencent.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20230308021153.99777-1-kerneljasonxing@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-03-09 23:32:12 -08:00
..
2021-05-17 15:29:35 -07:00
2023-01-26 10:52:18 +01:00
2023-02-01 20:54:27 -08:00
2022-11-16 12:48:44 +00:00
2022-11-16 12:48:44 +00:00
2022-11-16 12:48:44 +00:00
2023-01-26 10:52:18 +01:00
2021-05-17 15:29:35 -07:00
2022-06-21 11:38:29 +02:00
2023-02-03 19:56:23 -08:00
2022-09-20 10:21:49 -07:00
2022-12-13 15:47:48 -08:00
2023-02-02 21:14:50 -08:00
2022-12-20 03:13:45 +01:00
2021-05-17 15:29:35 -07:00
2022-11-16 09:43:35 +00:00
2023-03-09 23:32:12 -08:00