[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140625.163742.2006962270899373416.davem@davemloft.net>
Date: Wed, 25 Jun 2014 16:37:42 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] inet: reduce TLB pressure for listeners
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 24 Jun 2014 05:32:48 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> It seems overkill to use vmalloc() for typical listeners with less than
> 2048 hash buckets. Try kmalloc() and fallback to vmalloc() to reduce TLB
> pressure.
>
> Use kvfree() helper as it is now available.
> Use ilog2() instead of a loop.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied, thanks Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists