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:
parent
25aa24cabd
commit
8478ea241b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=135452
@ -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.)
|
||||
|
@ -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.)
|
||||
|
@ -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.)
|
||||
|
Loading…
Reference in New Issue
Block a user