Skip to content

Commit

Permalink
lib: Remove CONFIG_LATENCYTOP as "slow" kernel option
Browse files Browse the repository at this point in the history
CONFIG_LATENCYTOP enables a kernel latency tracking infrastructure that is
used by the "latencytop" userspace tool. The latency that is tracked is not
else consuming CPU), but instead, it is the latency an application encounters
because the kernel sleeps on its behalf for various reasons.

This code tracks 2 levels of statistics:
1) System level latency
2) Per process latency

IMHO this option is safe unless one runs latencytop userspace tool while
testing LTP.

Motivation for this is the openSUSE and some SLES kernels use
CONFIG_LATENCYTOP and all tests are working with a default timeout.
starvation.c is disabled with TCONF on slow kernels, which previously
worked well on kernels with CONFIG_LATENCYTOP.

Link: https://lore.kernel.org/ltp/[email protected]/
Reviewed-by: Li Wang <[email protected]>
Reviewed-by: Cyril Hrubis <[email protected]>
Signed-off-by: Petr Vorel <[email protected]>
  • Loading branch information
pevik committed Jan 24, 2025
1 parent 6e58212 commit ab27da4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/tst_kconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,6 @@ static struct tst_kconfig_var slow_kconfigs[] = {
TST_KCONFIG_INIT("CONFIG_KASAN"),
TST_KCONFIG_INIT("CONFIG_SLUB_RCU_DEBUG"),
TST_KCONFIG_INIT("CONFIG_TRACE_IRQFLAGS"),
TST_KCONFIG_INIT("CONFIG_LATENCYTOP"),
TST_KCONFIG_INIT("CONFIG_DEBUG_NET"),
TST_KCONFIG_INIT("CONFIG_EXT4_DEBUG"),
TST_KCONFIG_INIT("CONFIG_QUOTA_DEBUG"),
Expand Down

0 comments on commit ab27da4

Please sign in to comment.