diff options
author | Thiemo Seufer <ths@networkno.de> | 2008-02-18 19:32:49 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-04-28 17:14:23 +0100 |
commit | fb2a27e743cd565c25cd896911e494482a8b7251 (patch) | |
tree | 791190ead6211e829443185fb1d4b4109fbd9a34 /arch/mips/kernel/Makefile | |
parent | 064922a805ec7aadfafdd27aa6b4908d737c3c1d (diff) |
[MIPS] Reimplement clear_page/copy_page
Fold the SB-1 specific implementation of clear_page/copy_page in the
generic version, and rewrite that one in tlbex style. The immediate
benefits:
- It converts the compile-time workaround for SB-1 pass 1 prefetches
to a more efficient run-time check.
- It allows adjustment of loop unfolling, which helps to reduce the
number of redundant cdex cache ops.
- It fixes some esoteric cornercases (the cache line length calculations
can go wrong, and support for 64k pages without prefetch instructions
will overflow the addiu immediate).
- Somewhat better guesses of "good" prefetch values.
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/Makefile')
0 files changed, 0 insertions, 0 deletions