lkml.org 
[lkml]   [2015]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 4.1 regression in resizable hashtable tests
On 07/01/15 at 01:21pm, Meelis Roos wrote:
> This is 4.1 on sparc64 - one of my boxes that happens to have most
> runtime test left on from some debugging effort. In 4.0 it was fine, 4.1
> gives this in dmesg:
>
> [ 31.898697] Running resizable hashtable tests...
> [ 31.898915] Adding 2048 keys
> [ 31.952911] Traversal complete: counted=17, nelems=2048, entries=2048
> [ 31.953004] Test failed: Total count mismatch ^^^
> [ 32.022676] Traversal complete: counted=17, nelems=2048, entries=2048
> [ 32.022788] Test failed: Total count mismatch ^^^
> [ 32.022828] Deleting 2048 keys

Thanks for the report. I think this is already fixed. Can you try with the
following commit:

commit 246b23a7695bd5a457aa51a36a948cce53d1d477
Author: Thomas Graf <tgraf@suug.ch>
Date: Thu Apr 30 22:37:44 2015 +0000

rhashtable-test: Use walker to test bucket statistics

As resizes may continue to run in the background, use walker to
ensure we see all entries. Also print the encountered number
of rehashes queued up while traversing.

This may lead to warnings due to entries being seen multiple
times. We consider them non-fatal.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>


\
 
 \ /
  Last update: 2015-07-02 14:41    [W:0.052 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site