[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1437162420.1026.25.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Fri, 17 Jul 2015 21:47:00 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: mroos@...ux.ee
Cc: Thomas Graf <tgraf@...g.ch>, davem@...emloft.net,
netdev@...r.kernel.org, herbert@...dor.apana.org.au
Subject: Re: [PATCH net-next v2] rhashtable: Allow other tasks to be
scheduled in large lookup loops
On Fri, 2015-07-17 at 22:07 +0300, mroos@...ux.ee wrote:
> > Depending on system speed, the large lookup/insert/delete loops of the testsuite can
> > take a considerable amount of time to complete causing watchdog warnings to appear.
> > Allow other tasks to be scheduled throughout the loops.
> >
> > Reported-by: Meelis Roos <mroos@...ux.ee>
> > Signed-off-by: Thomas Graf <tgraf@...g.ch>
> > ---
> > v2: Use cond_resched() instead schedule()
>
> Tested it. The warning is gone from rhashtable test but now it is
> present in rbtree test (it was not there before). Same kernel, just your
> patch applied - but it should not change rbtree test???
Why not ?
rbtree tests need same kind of patches.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists