[PATCH 0/2] selftests/dma-buf: Minor improvements to udmabuf selftest
From: Chris Gellermann
Date: Thu Sep 03 2026 - 07:03:40 EST
Hi there,
two minor improvements to the udmabuf selftest:
- converting GNU-specific off64_t to 64-bit off_t for portability
- instead of uncoditional failing if not enough huge pages are available, check
beforehand and skip the affected tests
Best,
Chris
Chris Gellermann (2):
selftests/dma-buf: Convert off64_t to off_t for portability
selftests/dma-buf: Skip some tests if not enough free huge pages
.../selftests/drivers/dma-buf/Makefile | 1 +
.../selftests/drivers/dma-buf/udmabuf.c | 50 ++++++++++++++++---
2 files changed, 44 insertions(+), 7 deletions(-)
--
2.47.3