aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJames Hogan <[email protected]>2016-11-15 00:06:05 +0000
committerJames Hogan <[email protected]>2017-02-03 15:20:48 +0000
commita7ebb2e410f8be2b061557fd85241d75a1094221 (patch)
tree2cd2cb798f22db8427b732a79cb4fd74ed9b8070 /tools/perf/scripts/python
parent91cdee5710d5fe8f81915307b5ff38d364fbde33 (diff)
KVM: MIPS/T&E: active_mm = init_mm in guest context
Set init_mm as the active_mm and update mm_cpumask(current->mm) to reflect that it isn't active when in guest context. This prevents cache management code from attempting cache flushes on host virtual addresses while in guest context, for example due to a cache management IPIs or later when writing of dynamically translated code hits copy on write. We do this using helpers in static kernel code to avoid having to export init_mm to modules. Signed-off-by: James Hogan <[email protected]> Cc: Paolo Bonzini <[email protected]> Cc: "Radim Krčmář" <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: [email protected] Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions