Re: Make witness(4) ready for UP systems

2018-06-14 Thread Visa Hankala
On Wed, Jun 13, 2018 at 10:45:08PM +0200, Christian Ludwig wrote: > It makes sense to have witness(4) on uniprocessor systems, too. Lock-order > violations are not an MP-only thing. Since UP kernels do not have the kernel > lock, wrap the code in appropriate ifdefs. Committed. Thank you.

Make witness(4) ready for UP systems

2018-06-13 Thread Christian Ludwig
It makes sense to have witness(4) on uniprocessor systems, too. Lock-order violations are not an MP-only thing. Since UP kernels do not have the kernel lock, wrap the code in appropriate ifdefs. --- sys/kern/subr_witness.c | 28 ++-- 1 file changed, 22 insertions(+), 6 dele