Module Name: src
Committed By: rin
Date: Thu Mar 5 01:35:00 UTC 2020
Modified Files:
src/sys/arch/powerpc/ibm4xx: pmap.c
Log Message:
pmap_procwr(): use dcbst instead of dcbf as a tiny optimization.
To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/sys/arch/powerpc/ibm4xx/pmap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/powerpc/ibm4xx/pmap.c
diff -u src/sys/arch/powerpc/ibm4xx/pmap.c:1.82 src/sys/arch/powerpc/ibm4xx/pmap.c:1.83
--- src/sys/arch/powerpc/ibm4xx/pmap.c:1.82 Thu Mar 5 01:33:36 2020
+++ src/sys/arch/powerpc/ibm4xx/pmap.c Thu Mar 5 01:35:00 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.82 2020/03/05 01:33:36 rin Exp $ */
+/* $NetBSD: pmap.c,v 1.83 2020/03/05 01:35:00 rin Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@@ -67,7 +67,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.82 2020/03/05 01:33:36 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.83 2020/03/05 01:35:00 rin Exp $");
#include <sys/param.h>
#include <sys/cpu.h>
@@ -1183,7 +1183,7 @@ pmap_procwr(struct proc *p, vaddr_t va,
"mtpid %2;"
"sync; isync;"
"1:"
- "dcbf 0,%3;"
+ "dcbst 0,%3;"
"icbi 0,%3;"
"add %3,%3,%5;"
"addc. %4,%4,%6;"