diff options
author | Ilpo Järvinen <[email protected]> | 2023-12-15 17:04:56 +0200 |
---|---|---|
committer | Shuah Khan <[email protected]> | 2024-02-13 13:56:44 -0700 |
commit | b6dfac948686799169c899557a179b84d0d1f47e (patch) | |
tree | 6c345a9ffde24950a00ed206c1996de6f0c81246 /net/lapb/lapb_subr.c | |
parent | 19e94a2333c2babc773e51a9ed844cfc35a36064 (diff) |
selftests/resctrl: Exclude shareable bits from schemata in CAT test
CAT test doesn't take shareable bits into account, i.e., the test might
be sharing cache with some devices (e.g., graphics).
Introduce get_mask_no_shareable() and use it to provision an
environment for CAT test where the allocated LLC is isolated better.
Excluding shareable_bits may create hole(s) into the cbm_mask, thus add
a new helper count_contiguous_bits() to find the longest contiguous set
of CBM bits.
create_bit_mask() is needed by an upcoming CAT test rewrite so make it
available in resctrl.h right away.
Signed-off-by: Ilpo Järvinen <[email protected]>
Reviewed-by: Reinette Chatre <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions