On Thu, Oct 05, 2023 at 11:36:23AM +0200, Martin Husemann wrote: > No, I was confused by the #ifdef maze - it breaks the build for > non-MULTIPROCESSOR kernels only, and I am not actually sure what "use" > gcc sees for the "nlocks" variable at all in that case.
Scratch that too, I'll get coffee. Andrew, should we make the non-MULTIPROCESSOR variant of KERNEL_UNLOCK(all, lwp, ptr) set *(ptr) = 0 ? Martin