kern_spinlock.patch

rauf, 09/22/2006 02:51 AM

Download (363 Bytes)

View differences:

sys/kern/kern_spinlock.c 2006-09-22 02:25:12.000000000 +0500
277 277
			db_print_backtrace();
278 278
			return (TRUE);
279 279
		}
280
#endif
281 280
		if (++bo->nsec == 11)
282 281
			db_print_backtrace();
282
#endif
283 283
		if (bo->nsec == 60)
284 284
			panic("spin_lock: %p, indefinite wait!\n", bo->mtx);
285 285
		splz();