Re: [PATCH v3 06/10] selftests/mm: Don't fail uffd-stress if too many CPUs

From: Dev Jain
Date: Fri Feb 28 2025 - 12:38:09 EST




On 28/02/25 10:24 pm, Brendan Jackman wrote:
This calculation divides a fixed parameter by an environment-dependent
parameter i.e. the number of CPUs.

The simple way to avoid machine-specific failures here is to just put a
cap on the max value of the latter.

Suggested-by: Mateusz Guzik <mjguzik@xxxxxxxxx>
Signed-off-by: Brendan Jackman <jackmanb@xxxxxxxxxx>
---

Reviewed-by: Dev Jain <dev.jain@xxxxxxx>