Date: Wed, 31 Mar 2010 02:43:58 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/amd64/amd64 pmap.c src/sys/arm/arm pmap.c src/sys/i386/i386 pmap.c src/sys/i386/xen pmap.c src/sys/ia64/ia64 pmap.c src/sys/kern sys_process.c src/sys/mips/mips pmap.c src/sys/powerpc/aim mmu_oea.c mmu_oea64.c src/sys/powerpc/booke ... Message-ID: <201003310244.o2V2ircM068311@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2010-03-31 02:43:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/amd64/amd64 pmap.c sys/arm/arm pmap.c sys/i386/i386 pmap.c sys/i386/xen pmap.c sys/ia64/ia64 pmap.c sys/kern sys_process.c sys/mips/mips pmap.c sys/powerpc/aim mmu_oea.c mmu_oea64.c sys/powerpc/booke pmap.c sys/powerpc/include pmap.h sys/powerpc/powerpc mmu_if.m pmap_dispatch.c uio_machdep.c sys/sparc64/sparc64 pmap.c sys/sun4v/sun4v pmap.c sys/vm pmap.h vm_extern.h vm_glue.c Log: SVN rev 205956 on 2010-03-31 02:43:58Z by marcel MFC rev 198341 and 198342: o Introduce vm_sync_icache() for making the I-cache coherent with the memory or D-cache, depending on the semantics of the platform. vm_sync_icache() is basically a wrapper around pmap_sync_icache(), that translates the vm_map_t argumument to pmap_t. o Introduce pmap_sync_icache() to all PMAP implementation. For powerpc it replaces the pmap_page_executable() function, added to solve the I-cache problem in uiomove_fromphys(). o In proc_rwmem() call vm_sync_icache() when writing to a page that has execute permissions. This assures that when breakpoints are written, the I-cache will be coherent and the process will actually hit the breakpoint. o This also fixes the Book-E PMAP implementation that was missing necessary locking while trying to deal with the I-cache coherency in pmap_enter() (read: mmu_booke_enter_locked). Revision Changes Path 1.667.2.11 +5 -0 src/sys/amd64/amd64/pmap.c 1.113.2.4 +8 -2 src/sys/arm/arm/pmap.c 1.645.2.12 +5 -0 src/sys/i386/i386/pmap.c 1.17.2.4 +5 -0 src/sys/i386/xen/pmap.c 1.206.2.5 +27 -0 src/sys/ia64/ia64/pmap.c 1.155.2.4 +4 -0 src/sys/kern/sys_process.c 1.21.2.2 +5 -0 src/sys/mips/mips/pmap.c 1.130.2.5 +26 -8 src/sys/powerpc/aim/mmu_oea.c 1.4.2.13 +34 -16 src/sys/powerpc/aim/mmu_oea64.c 1.20.2.3 +40 -32 src/sys/powerpc/booke/pmap.c 1.26.2.2 +0 -1 src/sys/powerpc/include/pmap.h 1.11.2.2 +13 -7 src/sys/powerpc/powerpc/mmu_if.m 1.19.2.2 +5 -5 src/sys/powerpc/powerpc/pmap_dispatch.c 1.9.2.2 +0 -3 src/sys/powerpc/powerpc/uio_machdep.c 1.182.2.3 +5 -0 src/sys/sparc64/sparc64/pmap.c 1.47.2.2 +5 -0 src/sys/sun4v/sun4v/pmap.c 1.86.2.2 +1 -0 src/sys/vm/pmap.h 1.86.2.3 +1 -0 src/sys/vm/vm_extern.h 1.235.2.3 +7 -0 src/sys/vm/vm_glue.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003310244.o2V2ircM068311>