lkml.org 
[lkml]   [2013]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] inet: further fixes of possible seqlock deadlocks
From
From: Hannes Frederic Sowa <hannes@stressinduktion.org>
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.


\
 
 \ /
  Last update: 2013-11-29 00:41    [W:0.042 / U:0.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site