diff options
author | jhb <jhb@FreeBSD.org> | 2000-09-15 22:00:23 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-09-15 22:00:23 +0000 |
commit | 6aa22e71891d9536cd38c52ba42d3cbab6267464 (patch) | |
tree | dd693b4affb488258dbfa957d5c9ac0e4b88080d /sys/i386/isa/ithread.c | |
parent | 8b1e8bae5a48e043601dd80357287498f4a1289e (diff) | |
download | FreeBSD-src-6aa22e71891d9536cd38c52ba42d3cbab6267464.zip FreeBSD-src-6aa22e71891d9536cd38c52ba42d3cbab6267464.tar.gz |
- Add a new process flag P_NOLOAD that marks a process that should be
ignored during load average calcuations.
- Set this flag for the idle processes and the softinterrupt process.
Diffstat (limited to 'sys/i386/isa/ithread.c')
-rw-r--r-- | sys/i386/isa/ithread.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/isa/ithread.c b/sys/i386/isa/ithread.c index 9e6b41e..f8326ea 100644 --- a/sys/i386/isa/ithread.c +++ b/sys/i386/isa/ithread.c @@ -299,6 +299,7 @@ start_softintr(void *dummy) p->p_rtprio.type = RTP_PRIO_ITHREAD; p->p_rtprio.prio = PI_SOFT; /* soft interrupt */ p->p_stat = SWAIT; /* we're idle */ + p->p_flag |= P_NOLOAD; /* Put in linkages. */ softintr->it_proc = p; |