tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
UVM wait states
Would there be any objection to the following patch, it makes it easier
to see in top(1) which thing a process is waiting for.
Robert Swindells
Index: uvm_vnode.c
===================================================================
RCS file: /cvsroot/src/sys/uvm/uvm_vnode.c,v
retrieving revision 1.102
diff -u -r1.102 uvm_vnode.c
--- uvm_vnode.c 6 Dec 2015 09:38:54 -0000 1.102
+++ uvm_vnode.c 24 Feb 2016 00:00:41 -0000
@@ -265,7 +265,7 @@
return 0;
}
mutex_exit(uobj->vmobjlock);
- uvm_wait("uvn_fp1");
+ uvm_wait("uvnfp1");
mutex_enter(uobj->vmobjlock);
continue;
}
@@ -287,7 +287,7 @@
UVMHIST_LOG(ubchist, "wait %p (color %u)", pg,
VM_PGCOLOR_BUCKET(pg), 0,0);
UVM_UNLOCK_AND_WAIT(pg, uobj->vmobjlock, 0,
- "uvn_fp2", 0);
+ "uvnfp2", 0);
mutex_enter(uobj->vmobjlock);
continue;
}
Home |
Main Index |
Thread Index |
Old Index