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>
Tue, 12 Dec 2017 11:46:04 +0000 (12:46 +0100)
commit689593173eee4830d613bac4deda3fab095085da
tree9f9dbc616a1aecd598c0dc244030d20a04368240
parenta9d91d421246691aca8091b5a7977cfaa6fb20db
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.9/300-MIPS-r4k_cache-use-more-efficient-cache-blast.patch [new file with mode: 0644]