[LTP] [akpm-mm:mm-stable] [mm] c25465eb76: ltp.swapon03.fail

David Hildenbrand david@redhat.com
Mon Mar 24 12:53:55 CET 2025


On 24.03.25 09:49, kernel test robot wrote:
> 
> 
> Hello,
> 
> kernel test robot noticed "ltp.swapon03.fail" on:
> 
> commit: c25465eb7630ffcadaab29c1010071512f8c9621 ("mm: use single SWP_DEVICE_EXCLUSIVE entry type")
> https://git.kernel.org/cgit/linux/kernel/git/akpm/mm.git mm-stable
> 
> 
> in testcase: ltp
> version: ltp-x86_64-042eff32a-1_20250322
> with following parameters:
> 
> 	disk: 1HDD
> 	fs: btrfs
> 	test: syscalls-04/swapon03
> 
> 
> 
> config: x86_64-rhel-9.4-ltp
> compiler: gcc-12
> test machine: 4 threads 1 sockets Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz (Ivy Bridge) with 8G memory

LTP needs fixing.

tst_max_swapfiles() detects the number of supported swapfiles by parsing 
the kernel config, expecting that with CONFIG_DEVICE_PRIVATE we'd use 4 
on newer kernels.

Now it's "3", and consequently we support one more swapfile which the 
test cannot deal with (expecting a failure)

So, all good from a kernel perspective.

-- 
Cheers,

David / dhildenb



More information about the ltp mailing list