Date: Thu, 6 May 2010 16:39:43 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c src/sys/sparc64/sparc64 pmap.c src/sys/vm vm_page.c vm_page.h Message-ID: <201005061643.o46GhEfP031324@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2010-05-06 16:39:43 UTC
FreeBSD src repository
Modified files:
sys/amd64/amd64 pmap.c
sys/i386/i386 pmap.c
sys/sparc64/sparc64 pmap.c
sys/vm vm_page.c vm_page.h
Log:
SVN rev 207702 on 2010-05-06 16:39:43Z by alc
Push down the page queues lock inside of vm_page_free_toq() and
pmap_page_is_mapped() in preparation for removing page queues locking
around calls to vm_page_free(). Setting aside the assertion that calls
pmap_page_is_mapped(), vm_page_free_toq() now acquires and holds the page
queues lock just long enough to actually add or remove the page from the
paging queues.
Update vm_page_unhold() to reflect the above change.
Revision Changes Path
1.695 +6 -7 src/sys/amd64/amd64/pmap.c
1.675 +6 -7 src/sys/i386/i386/pmap.c
1.193 +10 -5 src/sys/sparc64/sparc64/pmap.c
1.395 +13 -10 src/sys/vm/vm_page.c
1.163 +1 -1 src/sys/vm/vm_page.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005061643.o46GhEfP031324>
