PERFORCE change 85751 for review
Alan Cox
alc at FreeBSD.org
Sun Oct 23 12:45:25 PDT 2005
http://perforce.freebsd.org/chv.cgi?CH=85751
Change 85751 by alc at alc_home on 2005/10/23 19:44:24
Assert that the object containing the page and reservation is locked
in preempt_destroy().
Affected files ...
.. //depot/projects/superpages/src/sys/vm/vm_reserve.c#3 edit
Differences ...
==== //depot/projects/superpages/src/sys/vm/vm_reserve.c#3 (text+ko) ====
@@ -564,6 +564,7 @@
reservation_t res;
KASSERT(m->reserv,("preempt_destroy: unexistant reservation"));
+ VM_OBJECT_LOCK_ASSERT(m->reserv->object, MA_OWNED);
if ((res = reserve_lazy_update(m)) != NULL)
preempt(res, 0, m);
KASSERT(!m->reserv,("preempt_destroy: reservation has not been destroyed properly"));
More information about the p4-projects
mailing list