Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2012 15:23:46 +0000 (UTC)
From:      Grzegorz Bernacki <gber@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r230810 - projects/armv6/sys/arm/arm
Message-ID:  <201201311523.q0VFNkQC041771@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gber
Date: Tue Jan 31 15:23:45 2012
New Revision: 230810
URL: http://svn.freebsd.org/changeset/base/230810

Log:
  Remove unnecessary clean and invalidate cache operations
  
  Submitted by: Lukasz Plachno
  Obtained from: Marvell, Semihalf

Modified:
  projects/armv6/sys/arm/arm/mp_machdep.c

Modified: projects/armv6/sys/arm/arm/mp_machdep.c
==============================================================================
--- projects/armv6/sys/arm/arm/mp_machdep.c	Tue Jan 31 15:19:02 2012	(r230809)
+++ projects/armv6/sys/arm/arm/mp_machdep.c	Tue Jan 31 15:23:45 2012	(r230810)
@@ -270,10 +270,10 @@ release_aps(void *dummy __unused)
 	arm_unmask_irq(0);
 
 	atomic_store_rel_int(&aps_ready, 1);
-	cpu_dcache_wbinv_all();
+
 	printf("Release APs\n");
+
 	while (smp_started == 0) {
-		cpu_dcache_wbinv_all();
 		DELAY(5000);
 	}
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201311523.q0VFNkQC041771>