]> git.baikalelectronics.ru Git - kernel.git/commit
net: remove SK_MEM_QUANTUM and SK_MEM_QUANTUM_SHIFT
authorEric Dumazet <edumazet@google.com>
Thu, 9 Jun 2022 06:34:07 +0000 (23:34 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 10 Jun 2022 23:21:26 +0000 (16:21 -0700)
commit12ce5a285f9a2ad3f8b57d446f32db13b25b4806
treefee14b800e416c074bec907d89586bf64c7559ef
parent76b50b3a78d695c569582f81766511e17a4a9c87
net: remove SK_MEM_QUANTUM and SK_MEM_QUANTUM_SHIFT

Due to memcg interface, SK_MEM_QUANTUM is effectively PAGE_SIZE.

This might change in the future, but it seems better to avoid the
confusion.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Shakeel Butt <shakeelb@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/sock.h
net/core/sock.c
net/ipv4/tcp.c
net/ipv4/tcp_input.c
net/ipv4/tcp_output.c
net/ipv4/udp.c
net/mptcp/protocol.c
net/sctp/protocol.c