On Fri, Jun 21, 2024 at 02:12:23PM -0400, Audra Mitchell wrote: > Now that we have updated userfaultfd_api to correctly return > EIVAL when a feature is requested but not available, let's fix > the uffd-stress test to only set the UFFD_FEATURE_WP_UNPOPULATED > feature when the config is set. In addition, still run the test if > the CONFIG_PTE_MARKER_UFFD_WP is not set, just dont use the corresponding > UFFD_FEATURE_WP_UNPOPULATED feature. > > Signed-off-by: Audra Mitchell <audra@xxxxxxxxxx> Acked-by: Peter Xu <peterx@xxxxxxxxxx> -- Peter Xu