cvs commit: src/sys/ia64/ia64 pmap.c

Marcel Moolenaar marcel at FreeBSD.org
Mon Sep 5 14:32:03 PDT 2005


marcel      2005-09-05 21:32:03 UTC

  FreeBSD src repository

  Modified files:
    sys/ia64/ia64        pmap.c 
  Log:
  o  In pmap_remove_pte: always invalidate the page. Previously the page
     was not invalidated if the PTE was not actually being removed.  In
     an UP kernel this didn't cause problems, because the new mapping
     would preempt the old one. In an SMP kernel this could lead to the
     use of stale translations when processes move between CPUs at the
     "right" moment.  This fixes the last of the obvious SMP problems
     and it should be safe to enable SMP by default now.
  o  In pmap_remove_pte: minor code refactoring to avoid duplication.
  o  Test all PTE pointers against NULL. Don't use implicit boolean
     tests.
  
  Revision  Changes    Path
  1.166     +11 -13    src/sys/ia64/ia64/pmap.c


More information about the cvs-src mailing list