All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: Andrea Cervesato <andrea.cervesato@suse.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] tst_kconfig: Don't consider CONFIG_FAULT_INJECTION slow
Date: Tue, 17 Mar 2026 23:51:24 +0100	[thread overview]
Message-ID: <20260317225124.GA371512@pevik> (raw)
In-Reply-To: <69b94b3d.050a0220.29aff4.793b@mx.google.com>

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,

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2026-03-17 22:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-16 12:40 [LTP] [PATCH] tst_kconfig: Don't consider CONFIG_FAULT_INJECTION slow Petr Vorel
2026-03-17 12:38 ` Andrea Cervesato via ltp
2026-03-17 22:51   ` Petr Vorel [this message]
2026-05-07  9:22   ` Cyril Hrubis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260317225124.GA371512@pevik \
    --to=pvorel@suse.cz \
    --cc=andrea.cervesato@suse.com \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.