From: David S. Miller Date: Mon, 8 Apr 2019 02:12:12 +0000 (-0700) Subject: Merge branch 'rhashtable-bitlocks' X-Git-Tag: v5.2-rc1~133^2~222 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=9186c90bbb9525f46eddb590be26c749b5b1def7;p=uclinux-h8%2Flinux.git 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 --- 9186c90bbb9525f46eddb590be26c749b5b1def7