kernel: unroll MIPS r4k cache blast function
authorFelix Fietkau <nbd@nbd.name>
Mon, 4 Dec 2017 21:44:33 +0000 (22:44 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sat, 10 Mar 2018 10:58:19 +0000 (11:58 +0100)
commit4e8f1e9f4ca088542fd2b861ea2f1a9dca0d845f
treea7f52213318e9089aaae22556c9eaea5e5f1f812
parent916277a033bd1e31a82eace1b512c2ed03590172
kernel: unroll MIPS r4k cache blast function

Optimize the compiler output for larger cache blast cases that are
common for DMA-based networking.

On ar71xx, I measured a routing throughput increase of ~8%

Signed-off-by: Ben Menchaca <ben.menchaca@qca.qualcomm.com>
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/brcm47xx/patches-4.9/159-cpu_fixes.patch
target/linux/generic/hack-4.14/300-MIPS-r4k_cache-use-more-efficient-cache-blast.patch [new file with mode: 0644]
target/linux/generic/hack-4.9/300-MIPS-r4k_cache-use-more-efficient-cache-blast.patch [new file with mode: 0644]