diff options
author | Bibo Mao <maobibo@loongson.cn> | 2025-07-30 10:32:54 +0800 |
---|---|---|
committer | Bibo Mao <maobibo@loongson.cn> | 2025-09-28 16:10:34 +0800 |
commit | 349f3ec027cffc14ca6d7f83e2618714c7054a07 (patch) | |
tree | a7e7c1238969cd07bbd260980199e653173a4242 /scripts/lib/kdoc/kdoc_files.py | |
parent | 8fa3df98336ca2872dc51a8859142e8892844fb6 (diff) | |
download | qemu-349f3ec027cffc14ca6d7f83e2618714c7054a07.zip qemu-349f3ec027cffc14ca6d7f83e2618714c7054a07.tar.gz qemu-349f3ec027cffc14ca6d7f83e2618714c7054a07.tar.bz2 |
target/loongarch: Update TLB index selection method
With function helper_tlbfill(), since there is no suitable TLB entry,
new TLB will be added and flush one old TLB entry. The old TLB entry
index is selected randomly now, instead it can be optimized as
following:
1. invalid TLB entry can be selected at first.
2. TLB entry with other ASID can be selected secondly
3. random method is used by last.
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions