linux/tools/testing/selftests/drivers
Vivek Kasireddy cf34cfbf17 selftests/udmabuf: add a test to pin first before writing to memfd
Unlike the existing tests, this new test will create a memfd (backed by
hugetlb) and pin the folios in it (a small subset) before writing/
populating it with data.  This is a valid use-case that invokes the
memfd_alloc_folio() kernel API and is expected to work unless there aren't
enough hugetlb folios to satisfy the allocation needs.

Link: https://lkml.kernel.org/r/20250618053415.1036185-4-vivek.kasireddy@intel.com
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Steve Sistare <steven.sistare@oracle.com>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: David Hildenbrand <david@redhat.com>
Cc: Oscar Salvador <osalvador@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-07-09 22:42:15 -07:00
..
dma-buf selftests/udmabuf: add a test to pin first before writing to memfd 2025-07-09 22:42:15 -07:00
gpu selftests/drivers/gpu: Add error messages to drm_mm.sh 2022-06-28 13:32:29 -06:00
net netlink: specs: ethtool: replace underscores with dashes in names 2025-06-25 15:36:27 -07:00
ntsync selftests: ntsync: Add a stress test for contended waits. 2025-01-08 13:18:12 +01:00
platform/x86/intel/ifs selftests: ifs: verify IFS ARRAY BIST functionality 2024-07-11 11:31:11 -06:00
s390x/uvdevice selftests: harness: remove unneeded __constructor_order_last() 2024-08-06 13:40:20 -06:00
sdsi selftests: sdsi: test sysfs setup 2022-03-02 14:56:12 +01:00
usb/usbip selftests: usbip: add wait after attach and before checking port status 2018-10-09 16:13:42 +02:00
.gitignore selftests: drivers/s390x: Add uvdevice tests 2022-05-20 16:38:42 +02:00