Index: kern_lock.c =================================================================== --- kern_lock.c (revision 196686) +++ kern_lock.c (working copy) @@ -35,7 +35,6 @@ #include #include -#include #include #include #include @@ -159,9 +158,6 @@ #ifdef ADAPTIVE_LOCKMGRS static u_int alk_retries = 10; static u_int alk_loops = 10000; -SYSCTL_NODE(_debug, OID_AUTO, lockmgr, CTLFLAG_RD, NULL, "lockmgr debugging"); -SYSCTL_UINT(_debug_lockmgr, OID_AUTO, retries, CTLFLAG_RW, &alk_retries, 0, ""); -SYSCTL_UINT(_debug_lockmgr, OID_AUTO, loops, CTLFLAG_RW, &alk_loops, 0, ""); #endif static __inline struct thread * Index: kern_rwlock.c =================================================================== --- kern_rwlock.c (revision 196686) +++ kern_rwlock.c (working copy) @@ -58,9 +58,6 @@ #ifdef ADAPTIVE_RWLOCKS static int rowner_retries = 10; static int rowner_loops = 10000; -SYSCTL_NODE(_debug, OID_AUTO, rwlock, CTLFLAG_RD, NULL, "rwlock debugging"); -SYSCTL_INT(_debug_rwlock, OID_AUTO, retry, CTLFLAG_RW, &rowner_retries, 0, ""); -SYSCTL_INT(_debug_rwlock, OID_AUTO, loops, CTLFLAG_RW, &rowner_loops, 0, ""); #endif #ifdef DDB Index: kern_sx.c =================================================================== --- kern_sx.c (revision 196686) +++ kern_sx.c (working copy) @@ -45,7 +45,6 @@ #include #include -#include #include #include #include @@ -137,9 +136,6 @@ #ifdef ADAPTIVE_SX static u_int asx_retries = 10; static u_int asx_loops = 10000; -SYSCTL_NODE(_debug, OID_AUTO, sx, CTLFLAG_RD, NULL, "sxlock debugging"); -SYSCTL_INT(_debug_sx, OID_AUTO, retries, CTLFLAG_RW, &asx_retries, 0, ""); -SYSCTL_INT(_debug_sx, OID_AUTO, loops, CTLFLAG_RW, &asx_loops, 0, ""); #endif void