On Tue, 2014-05-06 at 11:23 -0700, Andi Kleen wrote:
> Ok I need to fix that, because a single slot on a 2MB system
> is likely not enough.
You have nothing to do.
It will use a 128 slots hash table with current code.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel"
> This patch has no effect on a small machine, because we already
> dynamically size this hash table.
Good point.
>
> (The factor is one slot per 2MB of low memory)
Ok I need to fix that, because a single slot on a 2MB system
is likely not enough.
-Andi
--
To unsubscribe from this list: send
On Mon, 2014-05-05 at 15:25 -0700, Andi Kleen wrote:
> From: Andi Kleen
>
> UDP has two hash tables, for UDP and UDP lite. Default
> them to 16 entries each on small kernels. This can be
> still overriden on the command line.
>
> Signed-off-by: Andi Kleen
> ---
> net/ipv4/udp.c | 5 +
> 1
From: Andi Kleen
Date: Mon, 5 May 2014 15:25:55 -0700
> From: Andi Kleen
>
> UDP has two hash tables, for UDP and UDP lite. Default
> them to 16 entries each on small kernels. This can be
> still overriden on the command line.
>
> Signed-off-by: Andi Kleen
Likewise, if you make it too small
From: Andi Kleen
UDP has two hash tables, for UDP and UDP lite. Default
them to 16 entries each on small kernels. This can be
still overriden on the command line.
Signed-off-by: Andi Kleen
---
net/ipv4/udp.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/net/ipv4/udp.c b/net/ipv4/udp
5 matches
Mail list logo