Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp203094lqi; Wed, 6 Mar 2024 14:38:38 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUN56WFdiX5daf1edGs+FLivS7QeeHcWM6uObYvLn4QxgvcGT/mut6u+kGHpIFUZl7fScZq0UGWFqhx21WdSAbECaPwHUAEYEJJA3KpTw== X-Google-Smtp-Source: AGHT+IGHQuqeV4p/JhuQEnI61CN7xrWfldpS8vK2sx4fUBFlblKeSON2ifnUYOdz3Z/xmymb93Cd X-Received: by 2002:a17:906:3b0d:b0:a45:b773:2e14 with SMTP id g13-20020a1709063b0d00b00a45b7732e14mr2191835ejf.47.1709764718220; Wed, 06 Mar 2024 14:38:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709764718; cv=pass; d=google.com; s=arc-20160816; b=NBeR4Y/IFLlCR/QjP8V29N/4VAOF5h7sPPPb9DEM0UJ1xGSmlzaoj492qgu2sRqs89 3WeBO7NEtqCM7r4U5mtjqiKH63TKX72FpS75ztDmQfK6dmP1wozdft6Cg2/aNXhfpDvj HVJUBtGr4F/rZYNQPEUNQni6skCc7YCGHh4jsWzf59iGYRRVQsecLkbpUd3OzMPHp5fo cuhnlG0WRUOAV/fltz6m1eLAGLZ6Fje2q/X5x0OjJ0MdJddMee8nn2p6v7szbFyJHN9M 41hHgfwgpekGkHWPIUJrCmsc4IqxyrbFMy2Dy22N/5klIW3/thUTDw/ZtVz1jYO8NWf/ rESg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=WhvHTa8E6KIfz47SC53e3jlZc8KPDvEvRYf6GRtCMqU=; fh=m+aq+To6AbaK9hH7kAS7LCjEWLg1HQ/vV4t6e9MEH3g=; b=qcEHqRgBrq+rnFq1W92OHyAG4VYcWmct1ReELR/maXU0m5N2xXyv+2vkgnNDYpqG9C cAu/32zKhCGb41ND274cIBd70ILrGaxdlzTGnvakQk62DHgrPe+IlBkSTU2+zWrp6RH+ cVxdbNAmDe8Gh3rYrO+WbRDySKswETDHb8XwefitxVU+WzsUvULaYYOn9igKygwIfE9N zCphvHLADzjPncEUP8uotSof2bRdB/tVGhA0AwfFeTs2NLBfFkbUEy/jsj9KoykYzZ2l 8D6and/dHYRrvxaIioGBKqU/B06GNEyFmrW2+/gY3r+a9AQV7K3aNL8o9Ct0yI8cnsy4 jzrQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=T+jfCp4F; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-94662-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94662-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id u2-20020a1709067d0200b00a44030907f0si6474158ejo.962.2024.03.06.14.38.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 14:38:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-94662-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=T+jfCp4F; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-94662-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94662-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id F00FC1F23661 for ; Wed, 6 Mar 2024 22:38:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3F9991CA82; Wed, 6 Mar 2024 22:38:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="T+jfCp4F" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B56271B59D for ; Wed, 6 Mar 2024 22:38:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709764689; cv=none; b=qvdQKVbCGT534OzxRrSV7AieJwq/STa00eNmDLCgmuKudi245j9QvD84tueNBizYrjhb0nVW1yaepSefdGJ2gGqSZ5Uj+JH1SMDSMzNTQZGYc29am6z1xRYOC21jlQrWpn3rmBzzxcV/ROHgqvWZh9V1CJksMVehWYHOM2rg4hg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709764689; c=relaxed/simple; bh=QMHws1QctT5NyUyniNy/i1yS7FjuctqycFRrFidhZb8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=LfZB9rC54eWa5fbaq7r9A/lWPXlrxSaP6UGQW0lkiBl2Q/e3ElRAO0SsUxSFc2FjhgAAMSMR/e4OJC/H/wxdCmk/IZhXkn8PN0UEiPDm50UoxIs2K91zYoZzS/BRhTXLRspBm2j9CLMPHop7/xszHN3qurW9J8mMDJg9P73lJEM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=T+jfCp4F; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1709764686; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WhvHTa8E6KIfz47SC53e3jlZc8KPDvEvRYf6GRtCMqU=; b=T+jfCp4FWDI03kwn11+06p4n/obom/VYctpr/0dxrlzoPtlPSPQjslzI6xl8g2uI2MkPUM Tr4GTpic9kc8An4uYC780TIhWR5b4XPUhUu3sek1Or4xfsaAh3uvvIRlT0NDHee9CWwH86 6sghB+KHGhNqRO0I1VMmr+RcMKfwnvg= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-659-QO_v-DYrOPqLzMUdIsx2gA-1; Wed, 06 Mar 2024 17:38:03 -0500 X-MC-Unique: QO_v-DYrOPqLzMUdIsx2gA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A430E857A81; Wed, 6 Mar 2024 22:38:02 +0000 (UTC) Received: from localhost.redhat.com (unknown [10.22.9.120]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1E907111D793; Wed, 6 Mar 2024 22:38:02 +0000 (UTC) From: Nico Pache To: linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Cc: ben@decadent.org.uk, shuah@kernel.org, akpm@linux-foundation.org, usama.anjum@collabora.com Subject: [PATCH v2 1/3] selftests/mm: Dont fail testsuite due to a lack of hugepages Date: Wed, 6 Mar 2024 15:37:12 -0700 Message-ID: <20240306223714.320681-2-npache@redhat.com> In-Reply-To: <20240306223714.320681-1-npache@redhat.com> References: <20240306223714.320681-1-npache@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.3 On systems that have large core counts and large page sizes, but limited memory, the userfaultfd test hugepage requirement is too large. Exiting early due to missing one test's requirements is a rather aggressive strategy, and prevents a lot of other tests from running. Remove the early exit to prevent this. Fixes: ee00479d6702 ("selftests: vm: Try harder to allocate huge pages") Signed-off-by: Nico Pache --- tools/testing/selftests/mm/run_vmtests.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/selftests/mm/run_vmtests.sh b/tools/testing/selftests/mm/run_vmtests.sh index 246d53a5d7f28..727ea22ba408e 100755 --- a/tools/testing/selftests/mm/run_vmtests.sh +++ b/tools/testing/selftests/mm/run_vmtests.sh @@ -173,7 +173,6 @@ if [ -n "$freepgs" ] && [ -n "$hpgsize_KB" ]; then if [ "$freepgs" -lt "$needpgs" ]; then printf "Not enough huge pages available (%d < %d)\n" \ "$freepgs" "$needpgs" - exit 1 fi else echo "no hugetlbfs support in kernel?" -- 2.44.0