Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c4845a4b authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: Fix up redundant cache flushing for PAGE_SIZE > 4k.



If PAGE_SIZE is presently over 4k we do a lot of extra flushing given
that we purge the cache 4k at a time. Make it explicitly 4k per
iteration, rather than iterating for PAGE_SIZE before looping over again.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent deaef20e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment