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:
alc 2004-09-19 02:39:31 +00:00
parent 5e1860a66a
commit 78d7eda383
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.)