AMD64 - Fix bug in pmap_release_free_page()
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 8 Jul 2009 03:13:31 +0000 (20:13 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 8 Jul 2009 03:13:31 +0000 (20:13 -0700)
commit4a4ea614fca889320a3fd56dc561bb45c5f6a2a9
tree89f4ae6e8eab46484f959bf2078ae1a08ff215fb
parentc4f8086e4f4a8ded9a44e2faaf7c52eb3f517ac2
AMD64 - Fix bug in pmap_release_free_page()

The pmap_release_free_page() function was improperly conditionalizing
a test for (pindex == NUPDE + NUPDPE + PML4PML4I) which caused it to
fall through to an else clause, instead of doing nothing.  Make it
do nothing.

This fixes a hold count panic.
sys/platform/pc64/amd64/pmap.c