aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSuraj Jitindar Singh <[email protected]>2018-10-08 16:31:11 +1100
committerMichael Ellerman <[email protected]>2018-10-09 16:04:27 +1100
commit9d0b048da788c1df927d808bb60e7fd4f19a3a12 (patch)
treea1816ab82decc9721aa6339f6530481169c59522 /tools/perf/scripts/python/export-to-postgresql.py
parent690ed4cad87a34781a7f3c34a6cebda6cc2cc06c (diff)
KVM: PPC: Book3S HV: Invalidate TLB when nested vcpu moves physical cpu
This is only done at level 0, since only level 0 knows which physical CPU a vcpu is running on. This does for nested guests what L0 already did for its own guests, which is to flush the TLB on a pCPU when it goes to run a vCPU there, and there is another vCPU in the same VM which previously ran on this pCPU and has now started to run on another pCPU. This is to handle the situation where the other vCPU touched a mapping, moved to another pCPU and did a tlbiel (local-only tlbie) on that new pCPU and thus left behind a stale TLB entry on this pCPU. This introduces a limit on the the vcpu_token values used in the H_ENTER_NESTED hcall -- they must now be less than NR_CPUS. [[email protected] - made prev_cpu array be short[] to reduce memory consumption.] Reviewed-by: David Gibson <[email protected]> Signed-off-by: Suraj Jitindar Singh <[email protected]> Signed-off-by: Paul Mackerras <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions