diff options
author | 2022-06-08 23:34:06 -0700 | |
---|---|---|
committer | 2022-06-10 16:21:26 -0700 | |
commit | e70f3c701276a8825414dc650c4f76141a8704b4 (patch) | |
tree | 85e3536d8503f8d7f22ce9a90bccd1a572788a7f /net/core/sock.c | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (diff) | |
download | wireguard-linux-e70f3c701276a8825414dc650c4f76141a8704b4.tar.xz wireguard-linux-e70f3c701276a8825414dc650c4f76141a8704b4.zip |
Revert "net: set SK_MEM_QUANTUM to 4096"
This reverts commit bd68a2a854ad5a85f0c8d0a9c8048ca3f6391efb.
This change broke memcg on arches with PAGE_SIZE != 4096
Later, commit 2bb2f5fb21b04 ("net: add new socket option SO_RESERVE_MEM")
also assumed PAGE_SIZE==SK_MEM_QUANTUM
Following patches in the series will greatly reduce the over allocations
problem.
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>
Diffstat (limited to 'net/core/sock.c')
0 files changed, 0 insertions, 0 deletions