Messages in this thread | | | From | Eric Dumazet <> | Date | Wed, 8 Jun 2022 21:03:31 -0700 | Subject | Re: [PATCH v2] tcp: use alloc_large_system_hash() to allocate table_perturb |
| |
On Tue, Jun 7, 2022 at 12:02 AM Muchun Song <songmuchun@bytedance.com> wrote: > > 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> > --- > v2: > - Add Fixes tag and replace kvmalloc_array with alloc_large_system_hash suggested > by Eric Dumazet. >
Reviewed-by: Eric Dumazet <edumazet@google.com>
Thanks.
| |