Re: Traceback with CONFIG_REGMAP_KUNIT=y+CONFIG_DEBUG_ATOMIC_SLEEP=y

From: Mark Brown
Date: Thu Jul 20 2023 - 12:38:21 EST


On Thu, Jul 20, 2023 at 09:25:42AM -0700, Guenter Roeck wrote:
> On 7/20/23 08:07, Mark Brown wrote:

> > Like I say I don't think it's an either/or - we can do both
> > independently, they both make sense standalone and don't conflict with
> > each other.

> I guess I am missing something. I have not tried it, but wouldn't my patches
> be unnecessary if Dan's patch is applied ?

Dan's patch doesn't cover the maple tree cache so there's still an issue
there, but yes once Dan's patch is applied (assuming it covered all
cases) the tests should run fine modulo any issues caused by trying to
do atomic allocations triggering us to fail allocations on smaller
systems or something. My inclination is to do things like that in -next
and send your simpler approach to Linus, though it's really not
something I think it's a good idea for anyone to actually try to use.

Attachment: signature.asc
Description: PGP signature