cvs commit: src/sys/dev/vinum vinumdaemon.c
Bruce Evans
bde at zeta.org.au
Tue Apr 22 14:44:05 PDT 2003
On Tue, 22 Apr 2003, John Baldwin wrote:
> jhb 2003/04/22 12:45:26 PDT
>
> FreeBSD src repository
>
> Modified files:
> sys/dev/vinum vinumdaemon.c
> Log:
> 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.
I think PS_INMEM is always set for curproc, since curproc couldn't run
without a stack. vinumdaemon also hacks on P_SYSTEM, which should keep
PS_INMEM from changing later.
Bruce
More information about the cvs-src
mailing list