aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorValentin Schneider <[email protected]>2022-05-05 18:32:07 +0200
committerCatalin Marinas <[email protected]>2022-05-16 19:15:18 +0100
commitc733812dd77350ba0da18cd6e474e5a2e6461b49 (patch)
tree5efa5e4924b2d054dfc0a3f927a4deb6388cb02c /tools/perf/scripts/python/bin/export-to-postgresql-report
parentb4d6bb38f9dc7cd8ccb117c247a41ec12578929c (diff)
arm64: mm: Make arch_faults_on_old_pte() check for migratability
arch_faults_on_old_pte() relies on the calling context being non-preemptible. CONFIG_PREEMPT_RT turns the PTE lock into a sleepable spinlock, which doesn't disable preemption once acquired, triggering the warning in arch_faults_on_old_pte(). It does however disable migration, ensuring the task remains on the same CPU during the entirety of the critical section, making the read of cpu_has_hw_af() safe and stable. Make arch_faults_on_old_pte() check cant_migrate() instead of preemptible(). Cc: Valentin Schneider <[email protected]> Suggested-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Valentin Schneider <[email protected]> Link: https://lore.kernel.org/r/[email protected] Acked-by: Catalin Marinas <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions