Date: Fri, 30 Jul 2004 20:25:12 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ia64/ia64 pmap.c Message-ID: <200407302025.i6UKPCT6098487@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2004-07-30 20:25:12 UTC
FreeBSD src repository
Modified files:
sys/ia64/ia64 pmap.c
Log:
- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407302025.i6UKPCT6098487>
