Message ID | 20230717103152.202078-1-ryan.roberts@arm.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp1028178vqt; Mon, 17 Jul 2023 03:44:50 -0700 (PDT) X-Google-Smtp-Source: APBJJlGYmHP6IegDwfXoKbKMzD0/6hAjaKFmA9QXr95M1Qy/rl0F7a6gJ+nw5JKhPFnBFVZJttBq X-Received: by 2002:a17:906:1014:b0:991:f427:2fe7 with SMTP id 20-20020a170906101400b00991f4272fe7mr10157150ejm.62.1689590690075; Mon, 17 Jul 2023 03:44:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689590690; cv=none; d=google.com; s=arc-20160816; b=W/gB9mD9tB8jrsmaTmQUfDAselXEmLfC0oMaG1+1ZSYPG22xR1Qeg3XfM5VA2Zqrfu JCk87PKdOz0SqRnwQSyiGKUIHp5a+gq8h8INyPzyvA3oiTCJIZntfAVflIwRKYtGTNz3 IVnA8rI3eYFnfSpmgxgeM0kgvNWSQZ+N7Wr1b0Qwc2JkEUJIQzCi4KtrgtHA5qkvpfDs y1VvWDCsJRtis3wm7MyhR57gU/iSiA9ULQ23Dmfwy6I5J/kPklIBVASekmK72LK5Qcwz G/VWT3JXn6WoKsfPc8kx2hyoIJFSB51aBHUQ9N8/x+OKBl5OgNYK2vymoz2gApYEkHJE Q7Gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Z65q/QIrbCdpNNUH4E/OfUUQzz36ObsIRcL4Uv/GqG8=; fh=OUPfCZjK3Gm4uAxJmzTYkNGoALdOI9ZG4q/pkSTXiCE=; b=n0LL5mkqPwU/fVc+pHy0on6wAuzscCbAd8FMxzir0sRs8HxExMntzQmUIG99M9SCjm fKzeNBGpX1nEqJ5tMQk9Ym9LzECbp6kC+QDlzUU71yRNE871sVHXbe7zqeFykP6Uwn8m aLmTLeOMpLAH629TY5VKaY0YfJ0E6reoks4TC3UEyNvvmwsj93T5gjT5S6Zvc+b++xVd u/XO/tSFkgllmY/f90+Rvwg9FWPHvuU9xSJM9qBQbHZolPyZlkLS0ND7nQc0jWO16ZoD TcvbXWpIqhtAiumyxzkPYaYvF50VJ5z+SRNbBHc0Uc9tUlZi+RP9HHpKRHHlXpxQOieL 0bOQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f18-20020a170906391200b00982c9660263si5812176eje.803.2023.07.17.03.44.26; Mon, 17 Jul 2023 03:44:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229884AbjGQKcJ (ORCPT <rfc822;hadasmailinglist@gmail.com> + 99 others); Mon, 17 Jul 2023 06:32:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229471AbjGQKcI (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 17 Jul 2023 06:32:08 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B7189A6; Mon, 17 Jul 2023 03:32:06 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A476C2F4; Mon, 17 Jul 2023 03:32:49 -0700 (PDT) Received: from e125769.cambridge.arm.com (e125769.cambridge.arm.com [10.1.196.26]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A991C3F67D; Mon, 17 Jul 2023 03:32:04 -0700 (PDT) From: Ryan Roberts <ryan.roberts@arm.com> To: "Andrew Morton" <akpm@linux-foundation.org>, "Shuah Khan" <shuah@kernel.org>, =?utf-8?b?SsOpcsO0bWUgR2xpc3Nl?= <jglisse@redhat.com>, "David Hildenbrand" <david@redhat.com>, "Mark Brown" <broonie@kernel.org>, "John Hubbard" <jhubbard@nvidia.com>, "Florent Revest" <revest@chromium.org>, Peter Xu <peterx@redhat.com> Cc: Ryan Roberts <ryan.roberts@arm.com>, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org Subject: [PATCH v2 0/8] selftests/mm fixes for arm64 Date: Mon, 17 Jul 2023 11:31:44 +0100 Message-Id: <20230717103152.202078-1-ryan.roberts@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771664247591145743 X-GMAIL-MSGID: 1771664247591145743 |
Series |
selftests/mm fixes for arm64
|
|
Message
Ryan Roberts
July 17, 2023, 10:31 a.m. UTC
Hi All, This is v2 of my series to clean up mm selftests so that they run correctly on arm64. See [1] for full explanation. Changes Since v1 [1] -------------------- - Patch 1: Explicitly set line buffer mode in ksft_print_header() - Dropped v1 patch 2 (set execute permissions): Andrew has taken this into his branch separately. - Patch 2: Don't compile `soft-dirty` suite for arm64 instead of skipping it at runtime. - Patch 2: Declare fewer tests and skip all of test_softdirty() if soft-dirty is not supported, rather than conditionally marking each check as skipped. - Added Reviewed-by tags: thanks DavidH! - Patch 8: Clarified commit message. [1] https://lore.kernel.org/linux-mm/20230713135440.3651409-1-ryan.roberts@arm.com/ Thanks, Ryan Ryan Roberts (8): selftests: Line buffer test program's stdout selftests/mm: Skip soft-dirty tests on arm64 selftests/mm: Enable mrelease_test for arm64 selftests/mm: Fix thuge-gen test bugs selftests/mm: va_high_addr_switch should skip unsupported arm64 configs selftests/mm: Make migration test robust to failure selftests/mm: Optionally pass duration to transhuge-stress selftests/mm: Run all tests from run_vmtests.sh tools/testing/selftests/kselftest.h | 9 ++ tools/testing/selftests/kselftest/runner.sh | 7 +- tools/testing/selftests/mm/Makefile | 82 ++++++++++--------- tools/testing/selftests/mm/madv_populate.c | 26 +++++- tools/testing/selftests/mm/migration.c | 14 +++- tools/testing/selftests/mm/mrelease_test.c | 1 + tools/testing/selftests/mm/run_vmtests.sh | 28 ++++++- tools/testing/selftests/mm/settings | 2 +- tools/testing/selftests/mm/thuge-gen.c | 4 +- tools/testing/selftests/mm/transhuge-stress.c | 12 ++- .../selftests/mm/va_high_addr_switch.c | 2 +- 11 files changed, 133 insertions(+), 54 deletions(-) -- 2.25.1