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

Ricardo Branco rbranco@suse.de
Thu Feb 26 13:02:48 CET 2026



On 2/26/26 11:25 AM, Andrea Cervesato wrote:
> Hi!
>
>> index 05bb3ceb1..2ad8f8b1e 100644
>> --- a/runtest/syscalls
>> +++ b/runtest/syscalls
>> @@ -1775,6 +1775,7 @@ userfaultfd02 userfaultfd02
>>   userfaultfd03 userfaultfd03
>>   userfaultfd04 userfaultfd04
>>   userfaultfd05 userfaultfd05
>> +userfaultfd06 userfaultfd05
> copy-paste failure :-) pointing to the wrong binary.

LOL. Fixed in v7.  Because, ofc, it had to reach v7
>> +
>> +static struct tst_test test = {
>> +	.test_all = run,
>> +	.setup = setup,
>> +};
> Please add a .cleanup to call reset_pages() in case we fail syscalls.

Fixed. Will do a follow-up PR to use .cleanup = reaset_pages in the rest.


More information about the ltp mailing list