diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 11:29:55 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 11:29:55 +0900 |
commit | a252710fc5b63b24934905ca47ecf661702d7f00 (patch) | |
tree | 7fbaddfb977095879f42c68a2a2f115d0e2314ee /net/netlabel | |
parent | e4e3b5ccd77226c9c4dbb0737106b868dfc182d9 (diff) | |
download | linux-3.10-a252710fc5b63b24934905ca47ecf661702d7f00.tar.gz linux-3.10-a252710fc5b63b24934905ca47ecf661702d7f00.tar.bz2 linux-3.10-a252710fc5b63b24934905ca47ecf661702d7f00.zip |
sh: flush_cache_range() cleanup and optimizations.
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>
Diffstat (limited to 'net/netlabel')
0 files changed, 0 insertions, 0 deletions