• Peter Xu's avatar
    selftests/mm: add gup test matrix in run_vmtests.sh · de4ec376
    Peter Xu authored
    Add a matrix for testing gup based on the current gup_test.  Only run the
    matrix when -a is specified because it's a bit slow.
    
    It covers:
    
      - Different types of huge pages: thp, hugetlb, or no huge page
      - Permissions: Write / Read-only
      - Fast-gup, with/without
      - Types of the GUP: pin / gup / longterm pins
      - Shared / Private memories
      - GUP size: 1 / 512 / random page sizes
    
    Link: https://lkml.kernel.org/r/20230628215310.73782-9-peterx@redhat.com
    
    Signed-off-by: default avatarPeter Xu <peterx@redhat.com>
    Acked-by: default avatarDavid Hildenbrand <david@redhat.com>
    Cc: Andrea Arcangeli <aarcange@redhat.com>
    Cc: Hugh Dickins <hughd@google.com>
    Cc: James Houghton <jthoughton@google.com>
    Cc: Jason Gunthorpe <jgg@nvidia.com>
    Cc: John Hubbard <jhubbard@nvidia.com>
    Cc: Kirill A . Shutemov <kirill@shutemov.name>
    Cc: Lorenzo Stoakes <lstoakes@gmail.com>
    Cc: Matthew Wilcox <willy@infradead.org>
    Cc: Mike Kravetz <mike.kravetz@oracle.com>
    Cc: Mike Rapoport (IBM) <rppt@kernel.org>
    Cc: Vlastimil Babka <vbabka@suse.cz>
    Cc: Yang Shi <shy828301@gmail.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    de4ec376
run_vmtests.sh 9.23 KB