Date: Fri, 24 May 2013 09:33:15 GMT From: Philip Withnall <prw35@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 228998 for review Message-ID: <201305240933.r4O9XFnr045140@skunkworks.freebsd.org>
index | next in thread | raw e-mail
http://p4web.freebsd.org/@@228998?ac=10 Change 228998 by prw35@pwithnall_zenith on 2013/05/24 09:32:34 Remove a failing check from the CHERI compositor driver Recent changes to the VM code in FreeBSD seem to have caused this check to start failing, which I didn't notice when merging before. The check wasn't really necessary, so just drop it. Affected files ... .. //depot/projects/ctsrd/cheribsd/src/sys/dev/cheri/compositor/cheri_compositor_cfb.c#3 edit Differences ... ==== //depot/projects/ctsrd/cheribsd/src/sys/dev/cheri/compositor/cheri_compositor_cfb.c#3 (text+ko) ==== @@ -139,7 +139,7 @@ { vm_pindex_t pidx; vm_paddr_t paddr; - vm_page_t m_paddr, page; + vm_page_t page; struct cfb_vm_object *cfb_vm_obj; struct cdev *dev; struct cheri_compositor_softc *sc; @@ -186,10 +186,6 @@ dev_relthread(dev, ref); /* Sanity checks. */ - m_paddr = vm_phys_paddr_to_vm_page(paddr); - KASSERT((m_paddr == NULL || - pmap_page_get_memattr(m_paddr) == VM_MEMATTR_UNCACHEABLE), - ("Expected uncacheable page.")); KASSERT((((*mres)->flags & PG_FICTITIOUS) == 0), ("Expected non-fictitious page."));help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305240933.r4O9XFnr045140>
