git: kernel - Fix panic() on AMD

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Sep 7 15:46:10 PDT 2017


commit 30c68165c8c5a591e14597bce7bd25f4ecd649e3
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Sep 7 15:35:54 2017 -0700

    kernel - Fix panic() on AMD
    
    * The cpu_smp_stopped() function assumed that cpu_mwait_hints[] exists,
      but it might not (could be NULL).
    
    * Conditionalize to avoid insta-panicing all cpus all at the same time
      when one cpu tries to stop the others during a panic().  This fixes
      panics on AMD cpus.

Summary of changes:
 sys/platform/pc64/x86_64/machdep.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/30c68165c8c5a591e14597bce7bd25f4ecd649e3


-- 
DragonFly BSD source repository



More information about the Commits mailing list