Message ID | 20240205191843.4009640-3-leitao@debian.org (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 331D7C48292 for <linux-mm@archiver.kernel.org>; Mon, 5 Feb 2024 19:19:04 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4D0086B0082; Mon, 5 Feb 2024 14:19:03 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 408746B0083; Mon, 5 Feb 2024 14:19:03 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2829B6B0085; Mon, 5 Feb 2024 14:19:03 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 1B3786B0082 for <linux-mm@kvack.org>; Mon, 5 Feb 2024 14:19:03 -0500 (EST) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id E41BA40A7A for <linux-mm@kvack.org>; Mon, 5 Feb 2024 19:19:02 +0000 (UTC) X-FDA: 81758712924.14.E38E9C8 Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) by imf28.hostedemail.com (Postfix) with ESMTP id 09162C0009 for <linux-mm@kvack.org>; Mon, 5 Feb 2024 19:19:00 +0000 (UTC) Authentication-Results: imf28.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf28.hostedemail.com: domain of breno.debian@gmail.com designates 209.85.218.43 as permitted sender) smtp.mailfrom=breno.debian@gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1707160741; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/WC26n55iZnXbww+34MstvyMYAWzNyFy0JnU0QygjqI=; b=ZUvihlw99xLc/4kftXEXWLsUCkuROyPPWMkx/g1RTBFeW1SC1v6HKj5jxekVovXRB0KHNY YBucpzb+fbnSZ7q4BnCZcjSVoFavNbCnkF4LirhwFfUn5iPG5KXjkbkE15eaBY8ovbvbvA GcxqbBfeO923ruApU/N5Lu+RxDAKESE= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf28.hostedemail.com: domain of breno.debian@gmail.com designates 209.85.218.43 as permitted sender) smtp.mailfrom=breno.debian@gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1707160741; a=rsa-sha256; cv=none; b=mS6/BUCyW/ABq2vrQBMjFK7j2YqENnnyGrW5yD36XcFhyj3EA5Emjdv1v+t3jIWrT2qZq3 EwKETJbUTegeI0ne9RLpo3oLoGa6ytDAUeNsfbBMDq5hgFQr361HiuLu/36szT47E736PK vY6eo3auAvqwcZk9UUxHvdWFIpzZoDk= Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a26fa294e56so7805666b.0 for <linux-mm@kvack.org>; Mon, 05 Feb 2024 11:19:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707160740; x=1707765540; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/WC26n55iZnXbww+34MstvyMYAWzNyFy0JnU0QygjqI=; b=l9I6ePOEu6ihjhH6jX3XICtHbrqwo9ZDx3utRPRaDD7WsjWcBVmC/ZwjY0bHLVZCl+ Eljee9t4H7Aq8eI7mGzB5jz9aLizx4wYZe2VX5+jQLrjndmKzGYCQWq7TU79wUTJZfTC aUOGKvrJMB+waQ1HMxmRhHZB55OXSZ8ZSCLhhWDSiOvOISZ8tkozjv/z5mtzietEatDI +VoQbFuHYzwM0y2hSh67sQw4i3zs3zE0pzvBjpdoMta5fwJKCfVoAKyS+orTiTvcwy61 Tj6fWtp2C5wIpTMiiKfXmR1FBpFFp+NfSzmUjWLMcgZaGdVvUXTLcqMcseKAj+NUjhem Cvww== X-Gm-Message-State: AOJu0YzorTY5LxHBFI+eYBftEp8uRwyO6e/bHqVi+2Pn3QoW1wCG5b33 52aV9Xg+0Hr2wsGg0Nalr36T8SPU06FzPbY0Nf+1jEA3CoZuPFrN X-Google-Smtp-Source: AGHT+IHLc0HadsV/eDekFcvJhQSwC9u5/Jfj7dNNksLZBMHsGXWIlh9ubGXg+AAPmWeKyat/93baTg== X-Received: by 2002:a17:906:2456:b0:a37:aa39:ea27 with SMTP id a22-20020a170906245600b00a37aa39ea27mr270002ejb.65.1707160739532; Mon, 05 Feb 2024 11:18:59 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCUnz2Sd1sNKTlh9XUDSn65VAeg6JyD3s7WLIQ/AfZVc3isM/4jwLTT3rCz6D3aOibuSJbNxTV7xdKsyzl43Jl7nwofsacO+7LrqvYEhR0j/SSA/edgIrR9eynGCSYOZldjwSA11NMQiyCmWZJuBLEuTr66gcE+P7xNWzxcKrQo9yuRIANDY3QaLwr6mtiyuFu1CgPqSvlN7mM8gzwRyEM0TBls1KHITRga7eCqYyEOnsQpel/UgZ9zD7Vm/EY9bO2yHahpVWGtWfPGZ7rkiCEFzMNHm4ia7CWCiGPu/tf3zl9LI1n4odRGBVzdW/dpNiHxhM+J/RkIllH8jstVP5BbLt5Kyk5Ti/IZolE2vlpIaPmq7U0tonZ3nm1Ch Received: from localhost (fwdproxy-cln-018.fbsv.net. [2a03:2880:31ff:12::face:b00c]) by smtp.gmail.com with ESMTPSA id qb12-20020a1709077e8c00b00a373993b390sm156733ejc.148.2024.02.05.11.18.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 11:18:59 -0800 (PST) From: Breno Leitao <leitao@debian.org> To: mike.kravetz@oracle.com, linux-mm@kvack.org, akpm@linux-foundation.org, muchun.song@linux.dev, Shuah Khan <shuah@kernel.org> Cc: lstoakes@gmail.com, willy@infradead.org, hannes@cmpxchg.org, mhocko@kernel.org, roman.gushchin@linux.dev, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org (open list:KERNEL SELFTEST FRAMEWORK) Subject: [PATCH v2 2/2] selftests/mm: run_vmtests.sh: add hugetlb_madv_vs_map Date: Mon, 5 Feb 2024 11:18:42 -0800 Message-Id: <20240205191843.4009640-3-leitao@debian.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240205191843.4009640-1-leitao@debian.org> References: <20240205191843.4009640-1-leitao@debian.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 09162C0009 X-Rspam-User: X-Rspamd-Server: rspam05 X-Stat-Signature: s936p3jq61fxma931bfxerc4znffj3g9 X-HE-Tag: 1707160740-544103 X-HE-Meta: U2FsdGVkX1+wuJWwf9NoLVdSP0qYCiF1dPUFKXJsJSMGjGr3ylrrHe6ypiwuoBVJSY+88VKyYbN73pF1aH1m65Zq90NmLtD5qRHt/wdlV3wuoObrXhBsJufzT2MQjj/nDSjlY9oEG162HeD4J1oI5q3Zw8x9pi0hndTb+WeEWqi38WnCS4rEYLto/RsAXdkwRn3D1E2jJIf0402CZ/DOLr1hVhRPNB/vs2kODxc4vHIF9xLwkkl4+pJ7ro4nZX8LtP1A1xCcTT4sTZcTvznMt7GF1OALWQtWInhmGsFCXEUQ9K2+oEoq3iu1zl1Ki9UkGoV7X29S/SBGkqjp4vxqb1MW/xwI5cocPb1MqGAFiBwwHmwGnNY3ohKNs9LX7QK0/Hv+lLL1SITkUQ3iRbCIydHuW5R3sNF2BI9bynj7rAX+PYXFuye3uTKgQoG4Q5EtiFrIC8vkgQq+xI8h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m@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
mm/hugetlb: Restore the reservation
|
expand
|
diff --git a/tools/testing/selftests/mm/run_vmtests.sh b/tools/testing/selftests/mm/run_vmtests.sh index 246d53a5d7f2..50e2094ed761 100755 --- a/tools/testing/selftests/mm/run_vmtests.sh +++ b/tools/testing/selftests/mm/run_vmtests.sh @@ -253,6 +253,7 @@ nr_hugepages_tmp=$(cat /proc/sys/vm/nr_hugepages) # For this test, we need one and just one huge page echo 1 > /proc/sys/vm/nr_hugepages CATEGORY="hugetlb" run_test ./hugetlb_fault_after_madv +CATEGORY="hugetlb" run_test ./hugetlb_madv_vs_map # Restore the previous number of huge pages, since further tests rely on it echo "$nr_hugepages_tmp" > /proc/sys/vm/nr_hugepages
hugetlb_madv_vs_map selftest was not part of the mm test-suite since we didn't have a fix for the problem it found. Now that the problem is already fixed (see previous commit), let's enable this selftest in the default test-suite. Signed-off-by: Breno Leitao <leitao@debian.org> --- tools/testing/selftests/mm/run_vmtests.sh | 1 + 1 file changed, 1 insertion(+)