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)
commit100fdd1faf50557558e2911af4be32e515cb8036
treefee14b800e416c074bec907d89586bf64c7559ef
parente70f3c701276a8825414dc650c4f76141a8704b4
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