diff options
author | 2019-04-07 19:12:12 -0700 | |
---|---|---|
committer | 2019-04-07 19:12:12 -0700 | |
commit | 9186c90bbb9525f46eddb590be26c749b5b1def7 (patch) | |
tree | b2fc4e6c9902041bcdb4c8bfc44d2d5d3040088c /net/unix/af_unix.c | |
parent | Merge branch 'net-hsr-improvements-and-bug-fixes' (diff) | |
parent | rhashtable: add lockdep tracking to bucket bit-spin-locks. (diff) | |
download | linux-dev-9186c90bbb9525f46eddb590be26c749b5b1def7.tar.xz linux-dev-9186c90bbb9525f46eddb590be26c749b5b1def7.zip |
Merge branch 'rhashtable-bitlocks'
NeilBrown says:
====================
Convert rhashtable to use bitlocks
This series converts rhashtable to use a per-bucket bitlock
rather than a separate array of spinlocks.
This:
reduces memory usage
results in slightly fewer memory accesses
slightly improves parallelism
makes a configuration option unnecessary
The main change from previous version is to use a distinct type for
the pointer in the bucket which has a bit-lock in it. This
helped find two places where rht_ptr() was missed, one
in rhashtable_free_and_destroy() in print_ht in the test code.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions