Messages in this thread | | | Date | Mon, 2 Jan 2023 17:59:01 +0100 | Subject | Re: [PATCH v4] selftest/vm: add mremap expand merge offset test | From | David Hildenbrand <> |
| |
On 02.01.23 17:11, Lorenzo Stoakes wrote: > Add a test to assert that we can mremap() and expand a mapping starting > from an offset within an existing mapping. We unmap the last page in a 3 > page mapping to ensure that the remap should always succeed, before > remapping from the 2nd page. > > This is additionally a regression test for the issue solved in "mm, mremap: > fix mremap() expanding vma with addr inside vma" and confirmed to fail > prior to the change and pass after it. > > Finally, this patch updates the existing mremap expand merge test to check > error conditions and reduce code duplication between the two tests. > > Signed-off-by: Lorenzo Stoakes <lstoakes@gmail.com> > ---
Acked-by: David Hildenbrand <david@redhat.com>
-- Thanks,
David / dhildenb
| |