Re: [PATCH] inet: further fixes of possible seqlock deadlocks
From: David Miller
Date: Thu Nov 28 2013 - 18:16:10 EST
From: Hannes Frederic Sowa <hannes@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 28 Nov 2013 23:19:26 +0100
> I don't really understand why we distinguish between _BH and plain ICMP stat
> calls then.
>
> The non-_BH versions deactivate interrupts when updating the per-cpu counter.
This level of distinction exists back in the day where we did per-cpu counters
by hand. We used to have a BH counter and a non-BH counter for each statistic
and it really helped performance wise.
These days most of that may not be so relevant any more.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/