[LTP] [PATCH v3] userfaultfd: Add test using UFFDIO_POISON

Ricardo Branco rbranco@suse.de
Thu Feb 19 14:26:04 CET 2026



On 2/19/26 12:24 PM, Cyril Hrubis wrote:
>> WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst
>> #88: FILE: userfaultfd06.c:88:
>> +       volatile char dummy;
> I do not think that volatile is needed here.

This is needed.  Without it, the test hangs.

Best,
R


More information about the ltp mailing list