On Fri, Aug 13, 1999 at 03:04:43PM +0930, Mark Newton wrote:
> Arun Sharma wrote:
>
> > The second alternative - to mark system daemons as special
> > sounds much more attractive.
>
> Ok, now define the difference between "system daemons" and any other
> daemon (or, for that matter, any other process).
That's easy.
$ ps aux | head
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
root 23924 5.0 30.2 41312 38716 ?? S Sat05PM 191:41.92 /usr/X11R6/bin/
root 0 0.0 0.0 0 0 ?? DLs 31Jul99 0:02.30 (swapper)
root 1 0.0 0.2 504 200 ?? ILs 31Jul99 0:00.05 /sbin/init --
root 2 0.0 0.0 0 0 ?? DL 31Jul99 0:03.18 (pagedaemon)
root 3 0.0 0.0 0 0 ?? DL 31Jul99 0:00.00 (vmdaemon)
root 4 0.0 0.0 0 0 ?? DL 31Jul99 0:03.55 (bufdaemon)
root 5 0.0 0.0 0 0 ?? DL 31Jul99 12:06.17 (syncer)
The daemons which are involved in freeing up pages during low memory
conditions qualify as system daemons. Making sure that these daemons
don't block avoids the deadlock.
-Arun
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message