Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jan 2011 13:40:35 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/sparc64/sparc64 tlb.c
Message-ID:  <201101051340.p05DepGW019786@repoman.freebsd.org>

index | next in thread | raw e-mail

marius      2011-01-05 13:40:35 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8_2)
    sys/sparc64/sparc64  tlb.c 
  Log:
  SVN rev 217006 on 2011-01-05 13:40:35Z by marius
  
  MFC: r216891
  
  Extend the section in which interrupts are disabled in the TLB demap
  functions, otherwise if we get preempted after checking whether a certain
  pmap is active on the current CPU but before disabling interrupts we might
  operate on an outdated state as the pmap might have been deactivated in
  the meantime. As the same issue may arises when the TLB demap function is
  interrupted by a TLB demap IPI, just entering a critical section before
  the check isn't sufficient so we have to fully disable interrupts instead.
  
  Approved by:    re (kib)
  
  Revision      Changes    Path
  1.11.2.1.6.2  +6 -6      src/sys/sparc64/sparc64/tlb.c


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101051340.p05DepGW019786>