diff options
author | Jason Xing | 2023-03-08 10:11:53 +0800 |
---|---|---|
committer | Jakub Kicinski | 2023-03-09 23:32:12 -0800 |
commit | fd9c31f834416e3060061dbcb45ababaa25cdfe2 (patch) | |
tree | 017bbd9b05dd8793eedbe4d206ce12a1ab0090e4 /block/blk-rq-qos.c | |
parent | d0928c1c5b3db0cd80e867eb49f171f096f03b8c (diff) |
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>
Diffstat (limited to 'block/blk-rq-qos.c')
0 files changed, 0 insertions, 0 deletions