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

Alan Cox alc at
Fri Jul 30 13:26:25 PDT 2004

alc         2004-07-30 20:25:12 UTC

  FreeBSD src repository

  Modified files:
    sys/ia64/ia64        pmap.c 
   - Add pmap locking to ia64's pmap_enter() and pmap_enter_quick().  (This
     brings ia64 to parity with alpha, amd64, and i386 in this area.)
   - Prevent a race in pmap_find_pte(): If pmap_find_pte() sleeps in
     uma_zalloc(), another thread could allocate a pte at the same address.
     Instead, sleep at a higher level and retry the lookup before retrying
     the allocation.
  Reviewed and tested by: marcel@
  Revision  Changes    Path
  1.145     +31 -8     src/sys/ia64/ia64/pmap.c

More information about the cvs-all mailing list