Polling and kern.polling.idle_poll

Larry Baird lab at gta.com
Thu Jul 2 15:25:31 UTC 2009


> 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: lab at gta.com                 | TEL 407-380-0220, FAX 407-380-6080


More information about the freebsd-net mailing list