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

git: DragonFly_RELEASE_2_12 pmap - Missing critical section when calling lwkt_ipiq_process().


From: Antonio Huete Jimenez <tuxillo@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 18 Oct 2011 07:42:43 -0700 (PDT)

commit db39668bd529972dc154be070b57f398dfe94449
Author: Antonio Huete Jimenez <tuxillo@quantumachine.net>
Date:   Mon Oct 17 12:26:22 2011 -0700

    pmap - Missing critical section when calling lwkt_ipiq_process().
    
    - pmap_interlock_wait() explicitly calls lwkt_process_ipiq() which expects to
    be in a critical section. We still need cpu_ccfence() to guarantee that
    pmap->pm_active is always read inside the loop.
    
    - Sync pmap_interlock_wait's comment for both i386 and x86_64.
    
    DragonFly-bug: <http://bugs.dragonflybsd.org/issue2152>
    
    Reviewed by: @dillon, @vsrinivas

Summary of changes:
 sys/platform/pc32/i386/pmap.c   |    3 ++-
 sys/platform/pc64/x86_64/pmap.c |   11 +++++++++--
 2 files changed, 11 insertions(+), 3 deletions(-)

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


-- 
DragonFly BSD source repository



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