DragonFly BSD
DragonFly commits List (threaded) for 2011-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - Make sure thread is released before migrating


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 6 Mar 2011 10:26:23 -0800 (PST)

commit 95858b9186e25a62d68c58e909b9fe7f50ee81d7
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Sun Mar 6 10:24:49 2011 -0800

    kernel - Make sure thread is released before migrating
    
    * Make sure the current thread is in a released state before migrating it
      to another cpu.  Doing the release inside the lwkt_switch(), after we
      send the IPI, can result in a livelock.
    
    Reported-by: Peter Avalos <peter@theshell.com>

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/95858b9186e25a62d68c58e909b9fe7f50ee81d7


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]