[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y66j3FkbLRLwldyb@gondor.apana.org.au>
Date: Fri, 30 Dec 2022 16:39:56 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Robert Elliott <elliott@....com>
Cc: davem@...emloft.net, paulmck@...nel.org, frederic@...nel.org,
quic_neeraju@...cinc.com, josh@...htriplett.org,
linux-crypto@...r.kernel.org, rcu@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] crypto: tcrypt - suppress RCU stall warnings during
speed tests
On Mon, Dec 19, 2022 at 02:29:10PM -0600, Robert Elliott wrote:
> Suppress RCU CPU stall warnings while running speed tests.
>
> The tcrypt module is intended only for developer usage, so
> RCU stalls induced by those tests are not necessarily representative
> of real problems.
>
> Speed tests need to disable interrupts or preemption to get results
> that are not distorted by such interruptions. This triggers more
> RCU stalls than normal invocations of the crypto functions.
Where do we disable interrupts? That would seem to break the
use of jiffies since it won't get updated anymore.
Which particular test is still triggering the RCU warnings after
fixing the hash problems that you've already identified?
Cheers,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists