Re: Traceback with CONFIG_REGMAP_KUNIT=y+CONFIG_DEBUG_ATOMIC_SLEEP=y
From: Mark Brown
Date: Wed Jul 19 2023 - 19:05:20 EST
On Wed, Jul 19, 2023 at 03:37:54PM -0700, Guenter Roeck wrote:
> - Update the unit test regmap configuration to avoid using
> spinlock as locking mechanism for rbtree tests.
> That would work, but fail to catch situations where this happens
> in the real world.
Do this. The test is buggy, users should simply not do this. Users who
need to allocate in atomic context need to use a cache type which does
not do dynamic allocation.
Attachment:
signature.asc
Description: PGP signature