forked from Minki/linux
a252710fc5
flush_cache_range() wasn't page aligning the end of the range, we can't assume that it will always be page aligned, and we ended up getting unaligned faults in some rare call paths. Additionally, we add a small optimization to just purge the dcache entirely if the range is large enough that the page table walking will take longer. We use an arbitrary value of 64 pages for the large range size, as per sh64. Signed-off-by: Paul Mundt <lethal@linux-sh.org> |
||
---|---|---|
.. | ||
cache-sh2.c | ||
cache-sh3.c | ||
cache-sh4.c | ||
cache-sh7705.c | ||
clear_page.S | ||
consistent.c | ||
copy_page.S | ||
extable.c | ||
fault-nommu.c | ||
fault.c | ||
hugetlbpage.c | ||
init.c | ||
ioremap.c | ||
Kconfig | ||
Makefile | ||
pg-dma.c | ||
pg-nommu.c | ||
pg-sh4.c | ||
pg-sh7705.c | ||
tlb-nommu.c | ||
tlb-sh3.c | ||
tlb-sh4.c |