Adds a configurable delay to the test threads. It exists to keep thread0 from hogging the scheduler's spin lock and giving threads on another core a better chance to obtain that lock and not starve. Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
11 lines
240 B
Plaintext
11 lines
240 B
Plaintext
# Copyright (c) 2024 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
mainmenu "SMP suspend test"
|
|
|
|
source "Kconfig.zephyr"
|
|
|
|
config SMP_TEST_RELAX
|
|
int "A delay to compensate for spinlock bias induced by arch_spin_relax"
|
|
default 16
|