android_kernel_samsung_univ.../include
Herbert Xu eddee5ba34 rhashtable: Fix walker behaviour during rehash
Previously whenever the walker encountered a resize it simply
snaps back to the beginning and starts again.  However, this only
works if the rehash started and completed while the walker was
idle.

If the walker attempts to restart while the rehash is still ongoing,
we may miss objects that we shouldn't have.

This patch fixes this by making the walker walk the old table
followed by the new table just like all other readers.  If a
rehash is detected we will still signal our caller of the fact
so they can prepare for duplicates but we will simply continue
the walk onto the new table after the old one is finished either
by us or by the rehasher.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-03-15 01:35:34 -04:00
..
acpi
asm-generic
clocksource
crypto
drm drm/ttm: device address space != CPU address space 2015-03-05 09:04:39 +10:00
dt-bindings
keys
kvm
linux rhashtable: Fix walker behaviour during rehash 2015-03-15 01:35:34 -04:00
math-emu
media
memory
misc
net Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next 2015-03-14 14:29:45 -04:00
pcmcia
ras
rdma
rxrpc
scsi
soc
sound
target
trace
uapi ipv6: expose RFC4191 route preference via rtnetlink 2015-03-11 23:28:09 -04:00
video
xen
Kbuild