Revision e67b72b90b7e19a4be4d9c29f3feea6f58ab43f8 authored by Muchun Song on 07 June 2022, 07:02:14 UTC, committed by Jakub Kicinski on 09 June 2022, 04:11:05 UTC
In our server, there may be no high order (>= 6) memory since we reserve
lots of HugeTLB pages when booting.  Then the system panic.  So use
alloc_large_system_hash() to allocate table_perturb.

Fixes: e9261476184b ("tcp: dynamically allocate the perturb table used by source ports")
Signed-off-by: Muchun Song <songmuchun@bytedance.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20220607070214.94443-1-songmuchun@bytedance.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 487994f
History
File Mode Size
Makefile -rw-r--r-- 361 bytes
compat.c -rw-r--r-- 2.2 KB
ipc_sysctl.c -rw-r--r-- 6.3 KB
mq_sysctl.c -rw-r--r-- 2.7 KB
mqueue.c -rw-r--r-- 43.9 KB
msg.c -rw-r--r-- 31.6 KB
msgutil.c -rw-r--r-- 3.6 KB
namespace.c -rw-r--r-- 5.1 KB
sem.c -rw-r--r-- 63.2 KB
shm.c -rw-r--r-- 44.8 KB
syscall.c -rw-r--r-- 5.1 KB
util.c -rw-r--r-- 23.6 KB
util.h -rw-r--r-- 8.9 KB

back to top