On Tuesday 21 April 2015 10:42:42 Sven Eckelmann wrote:
It is unnecessary to allocate an extra memory region for hashtables and the corresponding locks. This brings the hashes used in batman-adv slightly in the direction of the common statically sized hash table implementation. More common hashtable functionality cannot be used batman-adv wide because the simple hashtable and rhashtable implementations don't provide bucket based locking.
I was now informed that the rhashtable can now (Linux 4.0) support per bucket locks. The last statement is therefore wrong since the last Linux release.
Kind regards, Sven