Date: Fri, 22 Feb 2008 01:28:28 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 135931 for review Message-ID: <200802220128.m1M1SSHp021363@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=135931 Change 135931 by kmacy@pandemonium:kmacy:xen31 on 2008/02/22 01:27:36 flush any pending updates before creating a new page table mapping Affected files ... .. //depot/projects/xen31/sys/i386/xen/pmap.c#38 edit Differences ... ==== //depot/projects/xen31/sys/i386/xen/pmap.c#38 (text+ko) ==== @@ -957,6 +957,7 @@ mtx_lock(&PMAP2mutex); newpf = *pde & PG_FRAME; if ((*PMAP2 & PG_FRAME) != newpf) { + PT_UPDATES_FLUSH(); *PMAP2 = newpf | PG_V | PG_A | PG_M; pmap_invalidate_page(kernel_pmap, (vm_offset_t)PADDR2); } @@ -1014,6 +1015,7 @@ KASSERT(curthread->td_pinned > 0, ("curthread not pinned")); newpf = *pde & PG_FRAME; if ((*PMAP1 & PG_FRAME) != newpf) { + PT_UPDATES_FLUSH(); *PMAP1 = newpf | PG_V | PG_A | PG_M; #ifdef SMP PMAP1cpu = PCPU_GET(cpuid);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802220128.m1M1SSHp021363>