diff options
author | David S. Miller <davem@davemloft.net> | 2017-09-03 11:01:05 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-03 11:01:05 -0700 |
commit | 4113f36bc7084ea0d47c0f5f1137776b603c91a7 (patch) | |
tree | df2e5f6fbb0792262701818650a9d6f35f6b5151 /net/l2tp | |
parent | 64327fc811268d4a24de03dac242ea29de6be75f (diff) | |
parent | 5a63643e583b6a9789d7a225ae076fb4e603991c (diff) | |
download | linux-4113f36bc7084ea0d47c0f5f1137776b603c91a7.tar.bz2 |
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')
0 files changed, 0 insertions, 0 deletions