diff options
| author | Michael Ellerman <[email protected]> | 2015-05-04 16:26:39 +1000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-05-08 12:26:01 +0200 |
| commit | cb307113746b4d184155d2c412e8069aeaa60d42 (patch) | |
| tree | 6715ef513c6aab176381a36b853f6cfc397ad889 /tools/perf/scripts/python/bin | |
| parent | ff303e66c240ba6269e31817a386995440a18c99 (diff) | |
perf_event: Don't allow vmalloc() backed perf on powerpc
On powerpc the perf event interrupt is not masked when interrupts are
disabled, allowing it to function as an NMI.
This causes problems if perf is using vmalloc. If we take a page fault
on the vmalloc region the fault handler will fail the page fault because
it detects we are coming in from an NMI (see do_hash_page()).
We don't actually need or want vmalloc backed perf so just disable it on
powerpc.
Signed-off-by: Michael Ellerman <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Anton Blanchard <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions