[RFC PATCH v3] ARM: uprobes need icache flush after xol write
davem at davemloft.net
Wed Apr 16 08:10:28 PDT 2014
From: Oleg Nesterov <oleg at redhat.com>
Date: Wed, 16 Apr 2014 17:06:46 +0200
> Off-topic, I am just curious... can't someone explain why flush_pfn_alias()
> or flush_icache_alias() can't race with itself ? I have no idea what they do,
> but what if another thread calls the same function with the same CACHE_COLOUR()
> right after set_pte_ext?
PTE modifications are supposed to run with the page table lock held.
More information about the linux-arm-kernel