Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/powerpc/ibm4xx



Module Name:    src
Committed By:   rin
Date:           Tue Oct  4 13:45:50 UTC 2022

Modified Files:
        src/sys/arch/powerpc/ibm4xx: copyinstr.c copyoutstr.c trap.c

Log Message:
copy{in,out}{,str}: Drop needless dcbst.

Data cache is purely physical for 40[53] with 16KB pages, and therefore
no need to flush cache before context switch.

This significantly improves copy{in,out} against small data; for example,
bytebench on DHT becomes:

-Pipe Throughput        12440.0          8826.1          7.1
+Pipe Throughput        12440.0         18364.8         14.8

No performance/ATF regression observed on 405. 403 boots successfully
into multiuser mode, and builds some packages.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/powerpc/ibm4xx/copyinstr.c \
    src/sys/arch/powerpc/ibm4xx/copyoutstr.c
cvs rdiff -u -r1.99 -r1.100 src/sys/arch/powerpc/ibm4xx/trap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index