svn commit: r266369 - stable/10/sys/arm/arm
Ian Lepore
ian at FreeBSD.org
Sat May 17 22:05:32 UTC 2014
Author: ian
Date: Sat May 17 22:05:31 2014
New Revision: 266369
URL: http://svnweb.freebsd.org/changeset/base/266369
Log:
MFC 264702: Remove uncessary armv6 cache and TLB maintenance ops.
Modified:
stable/10/sys/arm/arm/pmap-v6.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/arm/arm/pmap-v6.c
==============================================================================
--- stable/10/sys/arm/arm/pmap-v6.c Sat May 17 22:03:44 2014 (r266368)
+++ stable/10/sys/arm/arm/pmap-v6.c Sat May 17 22:05:31 2014 (r266369)
@@ -1988,8 +1988,6 @@ pmap_release(pmap_t pmap)
{
struct pcb *pcb;
- cpu_idcache_wbinv_all();
- cpu_l2cache_wbinv_all();
cpu_tlb_flushID();
cpu_cpwait();
if (vector_page < KERNBASE) {
@@ -2175,14 +2173,6 @@ pmap_growkernel(vm_offset_t addr)
for (; pmap_curmaxkvaddr < addr; pmap_curmaxkvaddr += L1_S_SIZE)
pmap_grow_l2_bucket(kpmap, pmap_curmaxkvaddr);
- /*
- * flush out the cache, expensive but growkernel will happen so
- * rarely
- */
- cpu_dcache_wbinv_all();
- cpu_l2cache_wbinv_all();
- cpu_tlb_flushD();
- cpu_cpwait();
kernel_vm_end = pmap_curmaxkvaddr;
}
More information about the svn-src-stable
mailing list