> > If using multiple cores on a system with hardware transactional memory > > support, thread scaling does not work, as there was a single point in the > > hash library which is a bottleneck for all threads, which is the > > "free_slots" ring, which stores all the indices of the free slots in the > > table. > > > > This patch fixes the problem, by creating a local cache per logical core, > > which stores locally indices of free slots, so most times, writer threads > > will not interfere each other. > > > > Fixes: 48a399119619 ("hash: replace with cuckoo hash implementation") > > > > Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com> > > Acked-by: Bruce Richardson <bruce.richardson at intel.com>
Applied, thanks