netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rhashtable concurrent writers issue, 4.2+
@ 2015-12-11 16:09 Colin Ian King
  0 siblings, 0 replies; only message in thread
From: Colin Ian King @ 2015-12-11 16:09 UTC (permalink / raw)
  To: netdev; +Cc: Thomas Graf, linux-kernel@vger.kernel.org

Hi,

After testing with commit 7def0f952eccdd0edb3c504f4dab35ee0d3aba1f
("lib: fix data race in rhashtable_rehash_one") on the current 4.4-rc4
kernel, I believe I am still seeing race conditions that seem to bite
concurrent readers.

The reproducer is found in my stress-ng system stress tool:

git://kernel.ubuntu.com/cking/stress-ng.git

one needs libattr1-dev, libkeyutils-dev to build this.

run the concurrent procfs stressor on 2 CPUs:

./stress-ng --procfs 2

..sometimes this hangs w/o a kernel stack dump, but sometimes it oopses
and one can see that we get a concurrent reader failure.

Colin

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-11 16:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-11 16:09 rhashtable concurrent writers issue, 4.2+ Colin Ian King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).