On Thu, 20 Jun 2024 00:48:56 +0200
Vlastimil Babka wrote:
> @@ -86,6 +104,7 @@ static void populate_error_injection_list(struct
> error_injection_entry *start,
> ent->start_addr = entry;
> ent->end_addr = entry + size;
> ent->etype = iter->etype;
> +
Error injectable functions cannot be inlined and since some are called
from hot paths, this incurs overhead even if no error injection is
enabled for them.
To avoid this overhead when disabled, allow the callsites of error
injectable functions to put the calls behind a static key, which the
2 matches
Mail list logo