Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

8.99.5 KASSERT(uvm_page_locked_p(old_pg));



NetBSD chieftec 8.99.5 NetBSD 8.99.5 (GENERIC) #4: Sun Nov  5 07:38:39
CET 2017
root@chieftec:/public/netbsd-root/sys/arch/amd64/compile/GENERIC amd64

   4247 	/*
   4248 	 * if old page is pv-tracked, remove pv_entry from its list.
   4249 	 */
   4250
   4251 	if ((~opte & (PG_V | PG_PVLIST)) == 0) {
   4252 		if ((old_pg = PHYS_TO_VM_PAGE(pmap_pte2pa(opte))) != NULL) {
   4253 			KASSERT(uvm_page_locked_p(old_pg)); // <- panic
   4254 			old_pp = VM_PAGE_TO_PP(old_pg);
   4255 		} else if ((old_pp = pmap_pv_tracked(pmap_pte2pa(opte)))
   4256 		    == NULL) {
   4257 			pa = pmap_pte2pa(opte);
   4258 			panic("%s: PG_PVLIST with pv-untracked page"
   4259 			    " va = %#"PRIxVADDR
   4260 			    " pa = %#" PRIxPADDR " (%#" PRIxPADDR ")",
   4261 			    __func__, va, pa, atop(pa));
   4262 		}
   4263
   4264 		old_pve = pmap_remove_pv(old_pp, ptp, va);
   4265 		old_pp->pp_attrs |= opte;
   4266 	}

http://netbsd.org/~kamil/panic/IMG00093.JPG

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index