accounting for locks and unlocks
authorJan-Simon Pendry <pendry@ucbvax.Berkeley.EDU>
Thu, 18 May 1995 12:19:48 +0000 (04:19 -0800)
committerJan-Simon Pendry <pendry@ucbvax.Berkeley.EDU>
Thu, 18 May 1995 12:19:48 +0000 (04:19 -0800)
SCCS-vsn: sys/sys/proc.h 8.14

usr/src/sys/sys/proc.h

index 8420e86..412d45f 100644 (file)
@@ -9,7 +9,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)proc.h      8.13 (Berkeley) %G%
+ *     @(#)proc.h      8.14 (Berkeley) %G%
  */
 
 #ifndef _SYS_PROC_H_
  */
 
 #ifndef _SYS_PROC_H_
@@ -106,7 +106,8 @@ struct      proc {
 
        struct  vnode *p_textvp;        /* Vnode of executable. */
 
 
        struct  vnode *p_textvp;        /* Vnode of executable. */
 
-       long    p_spare[3];             /* pad to 256, avoid shifting eproc. */
+       int     p_locks;                /* DEBUG: lockmgr count of held locks */
+       long    p_spare[2];             /* pad to 256, avoid shifting eproc. */
 
 /* End area that is zeroed on creation. */
 #define        p_endzero       p_hash.le_next
 
 /* End area that is zeroed on creation. */
 #define        p_endzero       p_hash.le_next