Kernel - Instrumentation for experimentation, interrupt threads
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 16 Aug 2009 23:15:32 +0000 (16:15 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 16 Aug 2009 23:15:32 +0000 (16:15 -0700)
commite381e77cebc2ec7761ca2e59af6cbb785e56d055
treecd478b66a3f3bf74e3cd3fb745e2f9f54e987cec
parentba174a5d1485f535f1b641f7236881ad93755515
Kernel - Instrumentation for experimentation, interrupt threads

* Add kern.intr_migrate (default off).  If set to 1 interrupt threads
  will chase the big giant lock around the cpu space instead of waiting
  for another cpu to release it.

* Add lwkt.bgl_yield, default 10 (uS).  Set the polling delay when
  yielding the BGL to another thread.
sys/kern/kern_intr.c
sys/kern/lwkt_thread.c