From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A4D6EC2D0DB for ; Tue, 28 Jan 2020 19:07:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7F4B524686 for ; Tue, 28 Jan 2020 19:07:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lca.pw header.i=@lca.pw header.b="rZzl+qEA" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727193AbgA1THQ (ORCPT ); Tue, 28 Jan 2020 14:07:16 -0500 Received: from mail-qt1-f194.google.com ([209.85.160.194]:34316 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727170AbgA1THO (ORCPT ); Tue, 28 Jan 2020 14:07:14 -0500 Received: by mail-qt1-f194.google.com with SMTP id h12so11170043qtu.1 for ; Tue, 28 Jan 2020 11:07:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=ZSIv5JurPysNixS3YWSkJ+cqh/2vHLB/JAVHcGR/4Zo=; b=rZzl+qEAYLTBtMp9ssPK9Ejc0IQXfIjcMlCwc8RZJ/Poapm8WZnOmSKjpPGU/CRTsz s49j6egQsNv+bATXo82MSoiXpQi3N3QHvgnyq6VfzcooOemBU6djud+xflwQG7RGqoPc L5M9+QbKcXOUUg0U09rJgFyuy4M0BvZq0fS3S49pfbq8xDC/uRvuAV9T3NJ2dNoyS3t+ r0VLb2Wpo+pntt9bwsRP15mZe1cOZg5vc4u8F4VRwv/pqDLOhfKGv0d7nyNY7llsOI2p sOz+jYkbLFQ6oe89WgJeyG/Pa023GcDt5lsRxS1gRMmySONFqvaE1MUA5AHjPWyKvzIK /yww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=ZSIv5JurPysNixS3YWSkJ+cqh/2vHLB/JAVHcGR/4Zo=; b=UltJMbDNMVz1SZJoQ5bKkqiILU20WAlsR6l82x8LYzUfEhNNqm2wuq1aG8W+Ek9ajf xgo83x85XjY57j+7H4gIUl22jfxBdQELiHJAZJND4GY5Bd4XT8QinjuUCVdqtnampb1K ZLHXJBQ1YePUeogeUiZAW69f1wxtjF7dd/Qry3ypqnDhqHK70RCZFHiIhSkwjbOd6IWg GbRNybaboSdaTf1wQYS5IgeGmrhybDs/5zSuk0J/4kfTAjg4adO138GcjkHN4DG7a80k IpiAbgxKSBg3a6axW2WOCd76KyYQrnUyWTZE8SDKsWoT7Rv2w6F+5ebWQp9xbH7BNjHV 7HKw== X-Gm-Message-State: APjAAAVycd+slaLX5HjCI6Boj0QxLNWEngfK9pxVB6+CBBqTqt+JEiIj 5vOJimvge7D5ABZqfAelNR8DDQ== X-Google-Smtp-Source: APXvYqwfcEAdtsZ+rCamZtj0MvoXkHQbqikImH2K21Z7lN9o0ZlEjUgJncOajxaQBGEujZOyMJYZkQ== X-Received: by 2002:ac8:2b86:: with SMTP id m6mr23384923qtm.190.1580238432152; Tue, 28 Jan 2020 11:07:12 -0800 (PST) Received: from [192.168.1.183] (pool-71-184-117-43.bstnma.fios.verizon.net. [71.184.117.43]) by smtp.gmail.com with ESMTPSA id f7sm13273329qtp.86.2020.01.28.11.07.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Jan 2020 11:07:10 -0800 (PST) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable From: Qian Cai Mime-Version: 1.0 (1.0) Subject: Re: [PATCH V12] mm/debug: Add tests validating architecture page table helpers Date: Tue, 28 Jan 2020 14:07:10 -0500 Message-Id: <69091BA4-18C4-4425-A5E2-31FBE4654AF9@lca.pw> References: <20200128174709.GK655507@arrakis.emea.arm.com> Cc: Anshuman Khandual , Mark Rutland , linux-ia64@vger.kernel.org, linux-sh@vger.kernel.org, Peter Zijlstra , James Hogan , Tetsuo Handa , Heiko Carstens , Michal Hocko , linux-mm@kvack.org, Dave Hansen , Paul Mackerras , sparclinux@vger.kernel.org, Thomas Gleixner , linux-s390@vger.kernel.org, Michael Ellerman , x86@kernel.org, Russell King - ARM Linux , Matthew Wilcox , Steven Price , Jason Gunthorpe , Gerald Schaefer , linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Ingo Molnar , Kees Cook , Masahiro Yamada , Mark Brown , "Kirill A . Shutemov" , Dan Williams , Vlastimil Babka , Christophe Leroy , Sri Krishna chowdary , Ard Biesheuvel , Greg Kroah-Hartman , linux-mips@vger.kernel.org, Ralf Baechle , linux-kernel@vger.kernel.org, Paul Burton , Mike Rapoport , Vineet Gupta , Martin Schwidefsky , Andrew Morton , linuxppc-dev@lists.ozlabs.org, "David S. Miller" In-Reply-To: <20200128174709.GK655507@arrakis.emea.arm.com> To: Catalin Marinas X-Mailer: iPhone Mail (17C54) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Jan 28, 2020, at 12:47 PM, Catalin Marinas wr= ote: >=20 > The primary goal here is not finding regressions but having clearly > defined semantics of the page table accessors across architectures. x86 > and arm64 are a good starting point and other architectures will be > enabled as they are aligned to the same semantics. This still does not answer the fundamental question. If this test is simply i= nefficient to find bugs, who wants to spend time to use it regularly? If th= is is just one off test that may get running once in a few years (when intro= ducing a new arch), how does it justify the ongoing cost to maintain it? I do agree there could be a need to clearly define this thing but that belon= gs to documentation rather than testing purpose. It is confusing to mix this= with other config options which have somewhat a different purpose, it will t= hen be a waste of time for people who mistakenly enable this for regular aut= omatic testing and never found any bug from it.=