[LTP] [PATCH] tst_kconfig: Don't consider CONFIG_FAULT_INJECTION slow

Petr Vorel pvorel@suse.cz
Tue Mar 17 23:51:24 CET 2026


Hi Andrea,

> Hi Petr,

> I didn't use fault injection extensively, but I read that when verbose mode is
> enabled we might have a big slowdown, so I wouldn't skip this check.

But it's default off. If one enables it, it could also increase LTP_RUNTIME_MUL.
IMHO the only effect now is 4* longer timeout on a kernel bug which freezes test
running.

> Eventually, we can implement a check that verifies if fault injection is enabled
> with a high verbosity. That would probably make more sense.

Do you mean to look if /sys/kernel/debug/fail*/verbose exist and contain 2?

https://origin.kernel.org/doc/html/latest/fault-injection/fault-injection.html#configure-fault-injection-capabilities-behavior

Kind regards,
Petr

> Regards,


More information about the ltp mailing list