--- - branch: MAIN date: Wed Mar 30 17:02:02 UTC 2022 files: - new: '1.70' old: '1.69' path: src/sys/kern/kern_softint.c pathrev: src/sys/kern/kern_softint.c@1.70 type: modified - new: '1.69' old: '1.68' path: src/sys/kern/kern_timeout.c pathrev: src/sys/kern/kern_timeout.c@1.69 type: modified id: 20220330T170202Z.2f09995ea6260793413fbce041ff048bf6d1809f log: | kern: Assert softint does not net acquire kernel locks. This redoes previous change where I mistakenly used the CPU's biglock count, which is not necessarily stable -- the softint lwp may sleep on a mutex, and the lwp it interrupted may start up again and release the kernel lock, so by the time the softint lwp wakes up again and the softint function returns, the CPU may not be holding any kernel locks. But the softint lwp should never hold kernel locks except when it's in a (usually, non-MPSAFE) softint function. Same with callout. module: src subject: 'CVS commit: src/sys/kern' unixtime: '1648659722' user: riastradh