[LTP] [PATCH] fanotify25: fix test failure on kernel with CONFIG_MODULES=n
Martin Doucha
mdoucha@suse.cz
Tue Mar 3 10:59:58 CET 2026
On 3/3/26 10:54, Amir Goldstein wrote:
> On Tue, Mar 3, 2026 at 10:49 AM Martin Doucha <mdoucha@suse.cz> wrote:
>>
>> Hi,
>> how about oom_kill_process()? That one's unconditionally available and
>> shouldn't get called very often in a reasonable test environment either.
>
> Why does it matter how much the function gets called?
> Isn't that irrelevant for the test?
I've written the test to test a specific fanotify regression. Tracing a
syscall that gets called too often could increase system load and change
timing of the race which I'm trying to trigger with it.
--
Martin Doucha mdoucha@suse.cz
SW Quality Engineer
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic
More information about the ltp
mailing list