diff options
author | jhb <jhb@FreeBSD.org> | 2003-04-22 19:45:26 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2003-04-22 19:45:26 +0000 |
commit | 1fb058ce86480fa03dbf80bce65350373f89dd34 (patch) | |
tree | 4060375267d578969bce6fe6130759783f4a73ac /sys/kern/kern_thread.c | |
parent | 817cb6ca1f585f03fdd44cea0be5889a751e703a (diff) | |
download | FreeBSD-src-1fb058ce86480fa03dbf80bce65350373f89dd34.zip FreeBSD-src-1fb058ce86480fa03dbf80bce65350373f89dd34.tar.gz |
Keep the proc locked while we set PS_INMEM so that either of the proc lock
or sched_lock are sufficient to test this flag.
XXX: vinum should really be using a kernel process via kthread_create()
instead of this hack. I'm not even sure PS_INMEM can be clear at this
point anyways.
Diffstat (limited to 'sys/kern/kern_thread.c')
0 files changed, 0 insertions, 0 deletions