diff options
author | adrian <adrian@FreeBSD.org> | 2015-10-31 00:04:44 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2015-10-31 00:04:44 +0000 |
commit | f8c53f2a3446f356dff0b034465d632507ab44fc (patch) | |
tree | 9d9dcb626dc4c86cd039a8bbfb671819464fd97b /lib/libc/stdio/wbuf.c | |
parent | be517d7ef4b35b437627b44fb261226345da148e (diff) | |
download | FreeBSD-src-f8c53f2a3446f356dff0b034465d632507ab44fc.zip FreeBSD-src-f8c53f2a3446f356dff0b034465d632507ab44fc.tar.gz |
mips74k: use cache-writeback for memory, not writethrough.
When I ported this code from netbsd I was .. slightly mips74k greener.
I used writethrough because (a) it's what netbsd did, and (b) if I used
writethrough then things "didn't work."
Fast-forward a couple years, more MIPS hacking and a whole lot more
understanding of the bus APIs (the last few commits notwithstanding;
it's been a long week, ok?) and I have this working for arge,
argemdio, spi and ath. Hans has it working for USB. The ath barrier
code will come in a later commit.
This gets the routing throughput up from 220mbit -> 337mbit.
I'm sure the bridging throughput will be similarly improved.
Tested:
* QCA955x SoC, routing workload.
Diffstat (limited to 'lib/libc/stdio/wbuf.c')
0 files changed, 0 insertions, 0 deletions