Re: [PATCH net-next] ipv6: sr: static percpu allocation for hmac_ring

2017-01-12 Thread David Miller
From: Eric Dumazet Date: Thu, 12 Jan 2017 08:50:10 -0800 > From: Eric Dumazet > > Current allocations are not NUMA aware, and lack proper > cleanup in case of error. > > It is perfectly fine to use static per cpu allocations for 256 bytes > per

Re: [PATCH net-next] ipv6: sr: static percpu allocation for hmac_ring

2017-01-12 Thread David Lebrun
On 01/12/2017 05:50 PM, Eric Dumazet wrote: > From: Eric Dumazet > > Current allocations are not NUMA aware, and lack proper > cleanup in case of error. > > It is perfectly fine to use static per cpu allocations for 256 bytes > per cpu. > > Signed-off-by: Eric Dumazet

[PATCH net-next] ipv6: sr: static percpu allocation for hmac_ring

2017-01-12 Thread Eric Dumazet
From: Eric Dumazet Current allocations are not NUMA aware, and lack proper cleanup in case of error. It is perfectly fine to use static per cpu allocations for 256 bytes per cpu. Signed-off-by: Eric Dumazet Cc: David Lebrun