> On Feb 10, 2022, at 4:58 AM, Martin Husemann <[email protected]> wrote:
>
> The kernel lock is held too long while the graphics card is configured.
> I have seen that with some Nvidia cards, where I just have not been able
> to boot LOCKDEBUG kernels (example in PR 55185).
>
> You can patch out the kernel lock spinout code (so the kernel does
> not limit the KERNEL_LOCK() spin time and you then can investigate
> other locking issues). Maybe we should offer an official option to do
> that?
Honestly, I think it’s probably better to disable “spinout” by default and have
it enabled by a sysctl / option. And possibly the spin time adjustable by
sysctl, too.
-- thorpej