[RFC] arm/mm: add a protection when flushing anonymous pages

Jason Lin kernel.jason at gmail.com
Sun Sep 30 23:50:45 EDT 2012


Dear all:
By the way, I used the CPU with VIPT cache.
Thanks.

2012/10/1 Jason Lin <kernel.jason at gmail.com>:
> Dear all:
> When I do LTP direct I/O tests, it produced a cache coherence issue
> caused by flush_pfn_alias() (arch/arm/mm/flush.c).
> I think we should to disable preemption or lock before setting page
> table and enable preemption or unlock after flushing pages
>
> Any comments are appreciated.
> Thanks.



More information about the linux-arm-kernel mailing list