aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorShaokun Zhang <[email protected]>2016-06-21 15:32:57 +0800
committerWill Deacon <[email protected]>2016-06-21 20:10:18 +0100
commit20c27a4270c775d7ed661491af8ac03264d60fc6 (patch)
tree1cca6a11a7cb4fa984194821138b2cfe1113baf9 /tools/perf/scripts/python/sctop.py
parent9ca4e58c20d5cb2a5bc378238188c71317aceac5 (diff)
arm64: mm: remove page_mapping check in __sync_icache_dcache
__sync_icache_dcache unconditionally skips the cache maintenance for anonymous pages, under the assumption that flushing is only required in the presence of D-side aliases [see 7249b79f6b4cc ("arm64: Do not flush the D-cache for anonymous pages")]. Unfortunately, this breaks migration of anonymous pages holding self-modifying code, where userspace cannot be reasonably expected to reissue maintenance instructions in response to a migration. This patch fixes the problem by removing the broken page_mapping(page) check from the cache syncing code, otherwise we may end up fetching and executing stale instructions from the PoU. Cc: Catalin Marinas <[email protected]> Cc: Will Deacon <[email protected]> Cc: Mark Rutland <[email protected]> Cc: <[email protected]> Reviewed-by: Catalin Marinas <[email protected]> Signed-off-by: Shaokun Zhang <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions