Displaying 1 result from an estimated 1 matches for "reap2".
Did you mean:
remap2
2003 Jun 30
0
sysctl_out_proc() race in stable w/ patch
...c
+ * could be blocked writing proc data to a sysctl.
+ * At the moment, if this occurs, we are not woken
+ * up and rely on a one-second retry.
+ */
+ if (p->p_lock) {
+ printf("Diagnostic: waiting for p_lock\n");
+ while (p->p_lock)
+ tsleep(p, PWAIT, "reap2", hz);
+ }
/* charge childs scheduling cpu usage to parent */
if (curproc->p_pid != 1) {
Index: kern/kern_proc.c
===================================================================
RCS file: /cvs/src/sys/kern/kern_proc.c,v
retrieving revision 1.7
diff -u -r1.7 kern_proc.c
--- ke...