diff options
author | Rik van Riel <riel@surriel.com> | 2025-02-26 06:00:42 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-03-19 13:12:29 +0300 |
commit | d504d1247e369e82c30588b296cc45a85a1ecc12 (patch) | |
tree | feefeecf46dbb835a1a5ea5b8d9d369a4100bd1a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 72a920eacd8ab02a519fde94ef4fdffe8740d84b (diff) | |
download | linux-d504d1247e369e82c30588b296cc45a85a1ecc12.tar.xz |
x86/mm: Add global ASID allocation helper functions
Add functions to manage global ASID space. Multithreaded processes that are
simultaneously active on 4 or more CPUs can get a global ASID, resulting in the
same PCID being used for that process on every CPU.
This in turn will allow the kernel to use hardware-assisted TLB flushing
through AMD INVLPGB or Intel RAR for these processes.
[ bp:
- Extend use_global_asid() comment
- s/X86_BROADCAST_TLB_FLUSH/BROADCAST_TLB_FLUSH/g
- other touchups ]
Signed-off-by: Rik van Riel <riel@surriel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20250226030129.530345-8-riel@surriel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions