Date: Tue, 29 Oct 2002 12:18:38 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 20367 for review Message-ID: <200210292018.g9TKIcK5050771@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=20367 Change 20367 by jhb@jhb_laptop on 2002/10/29 12:18:15 Make a debug check an invariant. I really think we may need a global spin lock to protect access to ptes. Affected files ... .. //depot/projects/smpng/sys/alpha/alpha/pmap.c#37 edit Differences ... ==== //depot/projects/smpng/sys/alpha/alpha/pmap.c#37 (text+ko) ==== @@ -2963,7 +2963,7 @@ pte = pmap_lev3pte(vm->vm_map.pmap, v); user_addr = 1; } -#ifdef DEBUG /* These checks are more expensive */ +#ifdef INVARIANTS /* These checks are more expensive */ if (!pmap_pte_v(pte)) panic("pmap_emulate_reference: invalid pte"); #if 0 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210292018.g9TKIcK5050771>