git: kernel - Fix cpu lockup on resume after entering the debugger

Matthew Dillon dillon at crater.dragonflybsd.org
Sun May 17 22:55:30 PDT 2015


commit b19f40a4c77b7d620eaf0c3a0a46fa52c71f80ad
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun May 17 22:52:05 2015 -0700

    kernel - Fix cpu lockup on resume after entering the debugger
    
    * Xcpustop was not testing ipending on resume.  Since Xcpustop STIs
      it is possible for it to receive further interrupts while stopped
      which can cause ipending to be set.
    
    * Use doreti instead of doreti_iret.   doreti will test ipending,
      fpending, the per-cpu flags.
    
    * Change the semantics to work more similarly to normal interrupt vectors.
    
    * Note that dumping is still problematic.

Summary of changes:
 sys/kern/lwkt_thread.c               |  7 +++----
 sys/platform/pc64/apic/apic_vector.s | 10 ++++++++--
 2 files changed, 11 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b19f40a4c77b7d620eaf0c3a0a46fa52c71f80ad


-- 
DragonFly BSD source repository



More information about the Commits mailing list