![]() |
lvs-devel
|
| To: | Julian Anastasov <ja@xxxxxx> |
|---|---|
| Subject: | Re: [PATCH net-next] ipvs: dynamically limit the connection hash table |
| Cc: | Simon Horman <horms@xxxxxxxxxxxx>, lvs-devel@xxxxxxxxxxxxxxx, netfilter-devel@xxxxxxxxxxxxxxx, Abhijeet Rastogi <abhijeet.1989@xxxxxxxxx> |
| From: | Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> |
| Date: | Thu, 1 Jun 2023 21:18:05 +0200 |
On Wed, May 17, 2023 at 03:37:31PM +0300, Julian Anastasov wrote: > As we allow the hash table to be configured to rows above 2^20, > we should limit it depending on the available memory to some > sane values. Switch to kvmalloc allocation to better select > the needed allocation type. > > Signed-off-by: Julian Anastasov <ja@xxxxxx> > --- > net/netfilter/ipvs/ip_vs_conn.c | 26 +++++++++++++++++--------- > 1 file changed, 17 insertions(+), 9 deletions(-) > > NOTE: This patch needs to be applied on top of V3 (or above) of patch > "ipvs: increase ip_vs_conn_tab_bits range for 64BIT" from Abhijeet Done, thanks for this note. Applied to nf-next, thanks. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH v3] ipvs: increase ip_vs_conn_tab_bits range for 64BIT, Pablo Neira Ayuso |
|---|---|
| Next by Date: | [linux-next:master] BUILD REGRESSION 6db29e14f4fb7bce9eb5290288e71b05c2b0d118, kernel test robot |
| Previous by Thread: | Re: [PATCH v3] ipvs: increase ip_vs_conn_tab_bits range for 64BIT, Pablo Neira Ayuso |
| Next by Thread: | [linux-next:master] BUILD REGRESSION 6db29e14f4fb7bce9eb5290288e71b05c2b0d118, kernel test robot |
| Indexes: | [Date] [Thread] [Top] [All Lists] |