1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

KASSERT if vm_page_t->wire_count overflows.

This commit is contained in:
Matthew Dillon 2001-08-22 04:01:56 +00:00
parent 594a202073
commit 0b76df7146
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82126

View File

@ -1233,6 +1233,7 @@ vm_page_wire(vm_page_t m)
cnt.v_wire_count++;
}
m->wire_count++;
KASSERT(m->wire_count != 0, ("vm_page_wire: wire_count overflow m=%p", m));
splx(s);
vm_page_flag_set(m, PG_MAPPED);
}