[<prev] [next>] [day] [month] [year] [list]
Message-ID: <ZWnGV39HJr9uUB2/@gondor.apana.org.au>
Date: Fri, 1 Dec 2023 19:41:11 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Edward Adam Davis <eadavis@...com>
Cc: davem@...emloft.net, linux-crypto@...r.kernel.org,
linux-kernel@...r.kernel.org, olivia@...enic.com,
syzbot+c52ab18308964d248092@...kaller.appspotmail.com,
syzkaller-bugs@...glegroups.com
Subject: Re: [PATCH] hwrng: core - fix task hung in hwrng_fillfn
On Fri, Dec 01, 2023 at 07:37:39PM +0800, Edward Adam Davis wrote:
>
> Reduce the scope of critical zone protection.
> The original critical zone contains a too large range, especially like
> copy_to_user() should not be included in the critical zone.
Which part in particular is taking 143 seconds? The buffer is
only 128 bytes long. Why is a 128-byte copy taking 143 seconds,
even with a page fault?
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