Skip to content
Commit 83e8d699 authored by Phil Elwell's avatar Phil Elwell
Browse files

mm/vmscan: Maintain TLB coherency in LRU code



As a workaround (and possibly a fix) for CPU spins observed on BCM2837,
use ptep_clear_flush_young instead of ptep_test_and_clear_young inside
lru_gen_look_around in order to expose PTE changes to the MMU. Note that
on architectures that don't require an explicit flush,
ptep_clear_flush_young just calls ptep_test_and_clear_young.

Signed-off-by: default avatarPhil Elwell <phil@raspberrypi.com>
parent 433dbf8d
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