Subject: Re: [IPV4] ROUTE: Avoid sparse warnings

From: Eric Dumazet <[email-masked]>
Date: Mon, 07 Jan 2008 21:46:45 +0100

Herbert Xu a écrit :
> On Mon, Jan 07, 2008 at 02:56:24PM +0100, Eric Dumazet wrote:
>> AFAIK, this patch reduces complexity and text size.
> 
> But if we had loads of empty hash buckets couldn't this potentially
> increase latency by disabling BH longer than before?

Well, we call rcu_read_unlock_bh()/rcu_read_lock_bh() for each bucket, empty 
or not, before and after patch, so we dont change latency.