diff options
author | Weihong Zhang <weihong.zhang@intel.com> | 2023-03-12 14:26:10 +0300 |
---|---|---|
committer | Dave Hansen <dave.hansen@linux.intel.com> | 2023-03-16 23:08:40 +0300 |
commit | 833c12ce0f4307675beb60b194833c6c7cb506d7 (patch) | |
tree | 5f3de37c556c9af65e1d40291225e90df9694d27 /tools/perf/scripts/python/syscall-counts.py | |
parent | 72fd6d738c991225c1053ee5003dd45e9c04e0e6 (diff) | |
download | linux-833c12ce0f4307675beb60b194833c6c7cb506d7.tar.xz |
selftests/x86/lam: Add inherit test cases for linear-address masking
LAM is enabled per-thread and gets inherited on fork(2)/clone(2). exec()
reverts LAM status to the default disabled state.
There are two test scenarios:
- Fork test cases:
These cases were used to test the inheritance of LAM for per-thread,
Child process generated by fork() should inherit LAM feature from
parent process, Child process can get the LAM mode same as parent
process.
- Execve test cases:
Processes generated by execve() are different from processes
generated by fork(), these processes revert LAM status to disabled
status.
Signed-off-by: Weihong Zhang <weihong.zhang@intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/all/20230312112612.31869-16-kirill.shutemov%40linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions