summaryrefslogtreecommitdiff
path: root/net/l2tp/l2tp_core.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-09-03 11:01:05 -0700
committerDavid S. Miller <davem@davemloft.net>2017-09-03 11:01:05 -0700
commit4113f36bc7084ea0d47c0f5f1137776b603c91a7 (patch)
treedf2e5f6fbb0792262701818650a9d6f35f6b5151 /net/l2tp/l2tp_core.h
parent64327fc811268d4a24de03dac242ea29de6be75f (diff)
parent5a63643e583b6a9789d7a225ae076fb4e603991c (diff)
Merge branch 'net-revert-lib-percpu_counter-API-for-fragmentation-mem-accounting'
Jesper Dangaard Brouer says: ==================== net: revert lib/percpu_counter API for fragmentation mem accounting There is a bug in fragmentation codes use of the percpu_counter API, that can cause issues on systems with many CPUs, above 24 CPUs. After much consideration and different attempts at solving the API usage. The conclusion is to revert to the simple atomic_t API instead. The ratio between batch size and threshold size make it a bad use-case for the lib/percpu_counter API. As using the correct API calls will unfortunately cause systems with many CPUs to always execute an expensive sum across all CPUs. Plus the added complexity is not worth it. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp/l2tp_core.h')
0 files changed, 0 insertions, 0 deletions