[LTP] [PATCH v2 0/3] move_pages04: fixes and improvements

Jan Stancek jstancek@redhat.com
Wed Oct 9 11:44:04 CEST 2024


On Tue, Oct 8, 2024 at 3:59 PM David Hildenbrand <david@redhat.com> wrote:
>
> This is v2 of [1].
>
> Fix and extend the move_pages04 test case to make it pass on upstream
> kernels again. While at it, clean it up a bit and convert it to the new
> test API.

Other than a small typo here (which can be fixed during push)

- *      1. Pass the address of a valid memory area where no where no page is
+ *      1. Pass the address of a valid memory area where no page is

it looks good to me, and behaves as expected with 6.12-rc1.

If people find it too noisy now for older kernels, we could add .min_kver = ""
to the test.

Reviewed-by: Jan Stancek <jstancek@redhat.com>

>
> [1] https://lkml.kernel.org/r/20240829141002.1962303-1-david@redhat.com
>
> Cc: Jan Stancek <jstancek@redhat.com>
> Cc: Cyril Hrubis <chrubis@suse.cz>
>
> David Hildenbrand (3):
>   move_pages04: check for "invalid area", "no page mapped" and "shared
>     zero page mapped"
>   move_pages04: remove special-casing for kernels < 4.3
>   move_pages04: convert to new test API
>
>  .../kernel/syscalls/move_pages/move_pages04.c | 267 +++++++++---------
>  1 file changed, 127 insertions(+), 140 deletions(-)
>
> --
> 2.46.1
>



More information about the ltp mailing list