Date: Thu, 9 Dec 2010 20:16:00 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/i386/i386 pmap.c Message-ID: <201012092016.oB9KGHQ7034754@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2010-12-09 20:16:00 UTC FreeBSD src repository Modified files: sys/i386/i386 pmap.c Log: SVN rev 216333 on 2010-12-09 20:16:00Z by alc When r207410 eliminated the acquisition and release of the page queues lock from pmap_extract_and_hold(), it didn't take into account that pmap_pte_quick() sometimes requires the page queues lock to be held. This change reimplements pmap_extract_and_hold() such that it no longer uses pmap_pte_quick(), and thus never requires the page queues lock. For consistency, adopt the same idiom as used by the new implementation of pmap_extract_and_hold() in pmap_extract() and pmap_mincore(). It also happens to make these functions shorter. Fix a style error in pmap_pte(). Reviewed by: kib@ Revision Changes Path 1.695 +40 -61 src/sys/i386/i386/pmap.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012092016.oB9KGHQ7034754>