lkml.org 
[lkml]   [2015]   [Jul]   [17]   [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/02/15 at 10:09pm, Meelis Roos wrote:
> [ 33.425061] Running rhashtable test nelem=8, max_size=65536, shrinking=0
> [ 33.425154] Test 00:
> [ 33.534470] Adding 50000 keys
> [ 34.743553] Info: encountered resize
> [ 34.743698] Info: encountered resize
> [ 34.743838] Info: encountered resize
> [ 34.744057] Info: encountered resize
> [ 34.744430] Info: encountered resize
> [ 34.745139] Info: encountered resize
> [ 34.746441] Info: encountered resize
> [ 34.749055] Info: encountered resize
> [ 34.754469] Info: encountered resize
> [ 34.764836] Info: encountered resize
> [ 34.785696] Info: encountered resize
> [ 34.827448] Info: encountered resize
> [ 34.896936] Traversal complete: counted=49993, nelems=50000, entries=50000, table-jumps=12
> [ 34.897056] Test failed: Total count mismatch ^^^

I do see count mismatches as well due to the design of the walker
which restarts and thus sees certain entries multiple times.

Do you have this commit as well?

Author: Phil Sutter <phil@nwl.cc>
Date: Mon Jul 6 15:51:20 2015 +0200

rhashtable: fix for resize events during table walk


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