> just to understand -- the patch below is just cosmetics to avoid
> seeing the polling thread appear as "SYS" time, right ?
Yes.  Another fix would be to have the idle thread call poll_idle() like
it did in 4.x.  The comment for P_NOLOAD says
        /* Ignore during load avg calculations. */
Looking at the threads that set P_NOLOAD, all of them are appear to
do minimal work.  Both idle_poll() and vm_page_zero_idle() used
to be called by the idle process.  Mapping them back to the idle
process seems reasonable to me.

Larry


-- 
------------------------------------------------------------------------
Larry Baird                        | http://www.gta.com
Global Technology Associates, Inc. | Orlando, FL
Email: [email protected]                 | TEL 407-380-0220, FAX 407-380-6080
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[email protected]"

Reply via email to