kernel - Fix td_xpcount when pushing a preemption
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 31 Aug 2010 05:24:15 +0000 (22:24 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 31 Aug 2010 05:24:15 +0000 (22:24 -0700)
commit6d9b99dbc2cb269bb517a657a693ff3526abc97f
tree0496c21e422169be725458b6572c9f7899774fd1
parent261a35c13161f8a71592bdb700ba6f3b39334c79
kernel - Fix td_xpcount when pushing a preemption

* We have to set xpcount to the sum of the victim thread's mpcount
  and xpcount, rather than just its mpcount.

Reported-by: Rumko
sys/kern/lwkt_thread.c