Re: [LTP] [PATCH] fanotify25: fix test failure on kernel with CONFIG_MODULES=n

Martin Doucha
2026-03-03T09:49:37Z

On 3/2/26 18:07, Amir Goldstein wrote:
> On Mon, Mar 2, 2026 at 4:39 PM Cyril Hrubis <chrubis@suse.cz> wrote:
>> If possible I would like to avoid whack-a-mole game trying to find
>> something that is commonly enabled.
>
> Feel free to choose any other symbol.

Hi,
how about oom_kill_process()? That one's unconditionally available and
shouldn't get called very often in a reasonable test environment either.

I'll prepare a patch and check that it still triggers the expected
failures on broken kernels.

--
Martin Doucha mdoucha@suse.cz
SW Quality Engineer
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic