1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Remove an outdated assertion from _pmap_allocpte(). (When vm_page_alloc()

succeeds, the page's queue field is unconditionally set to PQ_NONE by
vm_pageq_remove_nowakeup().)
This commit is contained in:
Alan Cox 2004-09-19 02:39:31 +00:00
parent 25aa24cabd
commit 8478ea241b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=135452
3 changed files with 0 additions and 9 deletions

View File

@ -1073,9 +1073,6 @@ _pmap_allocpte(pmap, ptepindex)
if ((m->flags & PG_ZERO) == 0)
pmap_zero_page(m);
KASSERT(m->queue == PQ_NONE,
("_pmap_allocpte: %p->queue != PQ_NONE", m));
/*
* Increment the hold count for the page table page
* (denoting a new mapping.)

View File

@ -1134,9 +1134,6 @@ _pmap_allocpte(pmap, ptepindex)
if ((m->flags & PG_ZERO) == 0)
pmap_zero_page(m);
KASSERT(m->queue == PQ_NONE,
("_pmap_allocpte: %p->queue != PQ_NONE", m));
/*
* Increment the hold count for the page table page
* (denoting a new mapping.)

View File

@ -1199,9 +1199,6 @@ _pmap_allocpte(pmap, ptepindex)
if ((m->flags & PG_ZERO) == 0)
pmap_zero_page(m);
KASSERT(m->queue == PQ_NONE,
("_pmap_allocpte: %p->queue != PQ_NONE", m));
/*
* Increment the hold count for the page table page
* (denoting a new mapping.)