Commit 0a7ec60
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: Phil Elwell <[email protected]>1 parent 31f5e13 commit 0a7ec60
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4095 | 4095 | | |
4096 | 4096 | | |
4097 | 4097 | | |
4098 | | - | |
| 4098 | + | |
4099 | 4099 | | |
4100 | 4100 | | |
4101 | 4101 | | |
| |||
0 commit comments