diff options
| author | Matthew Dillon <dillon@FreeBSD.org> | 2000-03-28 07:16:37 +0000 |
|---|---|---|
| committer | Matthew Dillon <dillon@FreeBSD.org> | 2000-03-28 07:16:37 +0000 |
| commit | 36e9f877dfd3d74af3d5a0faac2dc12671faf56a (patch) | |
| tree | 97eeb7aac884e843e070fb55d061e31dfe981bfa /sys/kern/kern_switch.c | |
| parent | 6d23c3828e14a4109f7e82d10c369db4812b71db (diff) | |
Notes
Diffstat (limited to 'sys/kern/kern_switch.c')
| -rw-r--r-- | sys/kern/kern_switch.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/kern_switch.c b/sys/kern/kern_switch.c index a4b05fe76a45..3146f9e856ef 100644 --- a/sys/kern/kern_switch.c +++ b/sys/kern/kern_switch.c @@ -140,6 +140,8 @@ remrunqueue(struct proc *p) * procrunnable() returns a boolean true (non-zero) value if there are * any runnable processes. This is intended to be called from the idle * loop to avoid the more expensive (and destructive) chooseproc(). + * + * MP SAFE. CALLED WITHOUT THE MP LOCK */ u_int32_t procrunnable(void) |
