Date: Tue, 10 Feb 1998 17:40:01 +0100 From: Eivind Eklund <eivind@yes.no> To: current@FreeBSD.ORG Subject: Minor test from somebody with SMP needed Message-ID: <19980210174001.25447@follo.net>
next in thread | raw e-mail | index | archive | help
Can somebody test if their system seem to work reliably with the below patch and options SIMPLELOCK_DEBUG in their kernel config file? Alternatively, can somebody that understand the issues say if the change is correct? SIMPLELOCK_DEBUG doesn't work at all with a multiprocessor-system as it is; the kernel won't even link, and this breaks LINT. Index: kern/kern_lock.c =================================================================== RCS file: /home/ncvs/src/sys/kern/kern_lock.c,v retrieving revision 1.16 diff -u -r1.16 kern_lock.c --- kern_lock.c 1998/02/06 12:13:23 1.16 +++ kern_lock.c 1998/02/10 16:35:20 @@ -462,7 +462,7 @@ printf(" with %d pending", lkp->lk_waitcount); } -#if defined(SIMPLELOCK_DEBUG) && NCPUS == 1 +#if defined(SIMPLELOCK_DEBUG) #include <sys/kernel.h> #include <sys/sysctl.h> Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980210174001.25447>