git: kernel - Fix SMP race in VMM/VMX vmclear() call

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Feb 26 17:15:37 PST 2014


commit c825189df5970fc591092fc240a9f14de46a9808
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Feb 26 17:14:39 2014 -0800

    kernel - Fix SMP race in VMM/VMX vmclear() call
    
    * Fix an SMP race.  The pcpu vti field is used to trigger cpusync's from
      other cpus and cannot be cleared by the owning cpu until after it has
      vmclear'd and stopped using the structure.
    
    Reported-by: tuxillo

Summary of changes:
 sys/platform/pc64/vmm/vmx.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list