git: kernel - Fix td_xpcount when pushing a preemption

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Aug 30 22:35:13 PDT 2010


commit 6d9b99dbc2cb269bb517a657a693ff3526abc97f
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Aug 30 22:24:15 2010 -0700

    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

Summary of changes:
 sys/kern/lwkt_thread.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6d9b99dbc2cb269bb517a657a693ff3526abc97f


-- 
DragonFly BSD source repository





More information about the Commits mailing list