diff options
author | Eric Dumazet <edumazet@google.com> | 2021-11-15 09:11:49 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-16 13:20:45 +0000 |
commit | 4199bae10c49e24bc2c5d8c06a68820d56640000 (patch) | |
tree | b2961c173f6371d1e6c6025c8dc8d7cee442dc7f /net/ieee802154 | |
parent | d477eb9004845cb2dc92ad5eed79a437738a868a (diff) | |
download | linux-4199bae10c49e24bc2c5d8c06a68820d56640000.tar.bz2 |
net: merge net->core.prot_inuse and net->core.sock_inuse
net->core.sock_inuse is a per cpu variable (int),
while net->core.prot_inuse is another per cpu variable
of 64 integers.
per cpu allocator tend to place them in very different places.
Grouping them together makes sense, since it makes
updates potentially faster, if hitting the same
cache line.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ieee802154')
0 files changed, 0 insertions, 0 deletions