aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2011-02-24 10:47:32 +0000
committerBenjamin Herrenschmidt <[email protected]>2011-03-02 14:56:48 +1100
commitf342552b917a18a7a1fa2c10625df85fac828c36 (patch)
tree236fc598d5c4342bd69c0098547ad6df51557990 /tools/perf/util/trace-event-scripting.c
parentdd9c1549edef02290edced639f67b54a25abbe0e (diff)
powerpc/mm: Make hpte_need_flush() safe for preemption
hpte_need_flush() might be called outside of a preempt section when manipulating the kernel page tables, so we need to use the appopriate variants of per-cpu variable accesses. There should be no risk of being in the middle of a batch and a context switch will flush any pending batch. [Patch extracted from a larger patch in Peter's preemptible mmu_gather series] Signed-off-by: Peter Zijlstra <[email protected]> Signed-off-by: Hugh Dickins <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions