diff options
author | Kees Cook <keescook@chromium.org> | 2024-02-06 01:53:19 -0800 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2024-02-07 03:10:57 -0800 |
commit | 55e68669b131401074513f903c097dae06ec6db1 (patch) | |
tree | 2ac5fa9a92d3364071919c0c1ef44c91eb6e4ee5 /samples/seccomp | |
parent | 8e3c9f9f3a0742cd12b682a1766674253b33fcf0 (diff) | |
download | linux-stable-55e68669b131401074513f903c097dae06ec6db1.tar.gz linux-stable-55e68669b131401074513f903c097dae06ec6db1.tar.bz2 linux-stable-55e68669b131401074513f903c097dae06ec6db1.zip |
selftests/seccomp: Pin benchmark to single CPU
The seccomp benchmark test (for validating the benefit of bitmaps) can
be sensitive to scheduling speed, so pin the process to a single CPU,
which appears to significantly improve reliability, and loosen the
"close enough" checking to allow up to 10% variance instead of 1%.
Reported-by: kernel test robot <oliver.sang@intel.com>
Closes: https://lore.kernel.org/oe-lkp/202402061002.3a8722fd-oliver.sang@intel.com
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Will Drewry <wad@chromium.org>
Reviewed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'samples/seccomp')
0 files changed, 0 insertions, 0 deletions