Re: [PATCH net] selftests: drv-net: devmem: Skip when hugetlbfs isn't supported

From: Jakub Kicinski

Date: Fri Oct 23 2026 - 13:57:45 EST


On Wed, 21 Oct 2026 11:08:51 +0200 Maxime Chevallier wrote:
> The devmem selftest requires accessing /proc/sys/vm/nr_hugepages,
> which is only available when hugetlbfs is supported. This isn't the
> case on all CPU architectures, for example it isn't supported on ARM
> 32-bits on cores that don't support LPAE.
>
> On these devices, the devmem kselftest doesn't skip gracefully

We don't require graceful skipping. If anything IMO hiding the stack
traces isn't great.

If the check is extraneous and makes us fail some tests which don't
actually require huge pages please make that clear in the commit
message. Otherwise the net benefit of the changes is unclear.
--
pw-bot: cr