diff options
| author | Bibo Mao <maobibo@loongson.cn> | 2026-10-13 16:48:42 +0800 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2026-10-13 16:48:42 +0800 |
| commit | 2339ae2c8a17021c24e015b28a1845066a152508 (patch) | |
| tree | 8d65998ed270fd07e78cacf4765f1fde269fe3d6 /tools/perf/scripts/python | |
| parent | 5b5d40bff4206c15c7f9251cfb27acac557771f7 (diff) | |
LoongArch: KVM: Implement vmid updating logic
VMID calculation method is the same as ASID on LoongArch which is a
percpu vmid calculation method. For every physical CPU, the VMIDs of
different VMs are different, and it is the same for different vCPUs
of the same VM.
When vCPU is scheduled on the physical CPU, it checked vmid of this VM
and the global cached vmid, and judge whether it is valid or not.
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
