Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3936048ybl; Mon, 3 Feb 2020 09:18:46 -0800 (PST) X-Google-Smtp-Source: APXvYqx9/Z2h5QnfMcCZoDH0WbinXpBQBHtzphoPJIwFPg4r9YlZ1fzPQ05jrt8L8f+89fs4z/Di X-Received: by 2002:a9d:ec7:: with SMTP id 65mr18962313otj.309.1580750326544; Mon, 03 Feb 2020 09:18:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580750326; cv=none; d=google.com; s=arc-20160816; b=LAi3lMVEcSEXW9I6L4ur9Sj6Jr0i1kVRyZtk+NvneLhupDMTInBh1xEofDEdEyzQXT dYYWaRBqjrH9XTGyhXHorVEoVWlaM+Zbxg686Z2JHdqS6NVxafxJjtD4m4axucLiP3qM p44fZ5UBI0ygvQrUWxiB6nadBkwKJ3TvJmq0AnSvW9+hgpnMxFCmBaz9k24goWFkEWo0 Tw+h5rO0as0Qs1RX9YHcUXRyeG911sxwLRMwDXhLg+v4TALsXXafwPWHFX9aBmyZToNP rbj7IYKVivBGO6PF9YP6Y1IC/ZqjzJZEqPJcGgmOhfOZYGsNB+BH49yCXTvh6cNM87JU Bo+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=i4hAG7YwdO6LNDmYZ4wBEtikutj9N76WG5xl/PwnPrw=; b=vaVC1Nb31sh+yzW8BmZa9hfrDjuguDN9vRWPdputh+sn2AfQ7eVovxQxGzpcCYKXeI GOV65pzpCDdGGz/lIUKcnd/ISyZSaCfJ7tbqV/w1R5pnrxIDj4yk9RY5E3VPy/bUiSy9 RY4ZU3+Bmnrg9eIG9hoQCLnox0Xa2tysDWY+qbpRYJ3CE2iWwKBVRFyP/l9xgfHjG/Yu B4DxT1rJZmObEcpa2j2YFNkc1+B5fqOOeIrsWoeoGvD1RUkZcxleYFB//dk5tscBjPqk rB6ucqG1O56E1WW7tgz+jddfVrnO+bhF3ahk3psh505DGoQMzGJi43GUXFqLElMVQNxU NENA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=OGtzFIa+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l11si9762978oth.286.2020.02.03.09.18.34; Mon, 03 Feb 2020 09:18:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=OGtzFIa+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728936AbgBCPO3 (ORCPT + 99 others); Mon, 3 Feb 2020 10:14:29 -0500 Received: from pegase1.c-s.fr ([93.17.236.30]:44923 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728918AbgBCPO2 (ORCPT ); Mon, 3 Feb 2020 10:14:28 -0500 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 48BBF846fMz9v3ls; Mon, 3 Feb 2020 16:14:20 +0100 (CET) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=OGtzFIa+; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id 5VszB6UW2Yif; Mon, 3 Feb 2020 16:14:20 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 48BBF82h8pz9v3lm; Mon, 3 Feb 2020 16:14:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1580742860; bh=i4hAG7YwdO6LNDmYZ4wBEtikutj9N76WG5xl/PwnPrw=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=OGtzFIa+5ZhSxgd/BuHky5Jny2LDfnoF42zPtabwjmhorMsQSP8od+tqTvY9oMk3O ug6+KKaiRNlh/wtS69Y4UVsFdUJC1Vu36ZVhY++cHIlyr4PBVDhCfDbWqmvxtfLxhX pBTvZSaYZbiw2B0JwaU6kwU/pCLUp2ai2uhwAOdA= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 7DE228B7B0; Mon, 3 Feb 2020 16:14:25 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id unrhNEULKrXy; Mon, 3 Feb 2020 16:14:25 +0100 (CET) Received: from [172.25.230.102] (po15451.idsi0.si.c-s.fr [172.25.230.102]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 12E638B7AC; Mon, 3 Feb 2020 16:14:25 +0100 (CET) Subject: Re: [PATCH V12] mm/debug: Add tests validating architecture page table helpers To: Qian Cai Cc: Anshuman Khandual , linux-mm@kvack.org, Andrew Morton , Vlastimil Babka , Greg Kroah-Hartman , Thomas Gleixner , Mike Rapoport , Jason Gunthorpe , Dan Williams , Peter Zijlstra , Michal Hocko , Mark Rutland , Mark Brown , Steven Price , Ard Biesheuvel , Masahiro Yamada , Kees Cook , Tetsuo Handa , Matthew Wilcox , Sri Krishna chowdary , Dave Hansen , Russell King - ARM Linux , Michael Ellerman , Paul Mackerras , Martin Schwidefsky , Heiko Carstens , "David S. Miller" , Vineet Gupta , James Hogan , Paul Burton , Ralf Baechle , "Kirill A . Shutemov" , Gerald Schaefer , Ingo Molnar , linux-snps-arc@lists.infradead.org, linux-mips@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, kasan-dev References: <473d8198-3ac4-af3b-e2ec-c0698a3565d3@c-s.fr> <2C4ADFAE-7BB4-42B7-8F54-F036EA7A4316@lca.pw> From: Christophe Leroy Message-ID: <8e94a073-4045-89aa-6a3b-24847ad7c858@c-s.fr> Date: Mon, 3 Feb 2020 16:14:24 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: <2C4ADFAE-7BB4-42B7-8F54-F036EA7A4316@lca.pw> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 02/02/2020 à 12:26, Qian Cai a écrit : > > >> On Jan 30, 2020, at 9:13 AM, Christophe Leroy wrote: >> >> config DEBUG_VM_PGTABLE >> bool "Debug arch page table for semantics compliance" if ARCH_HAS_DEBUG_VM_PGTABLE || EXPERT >> depends on MMU >> default 'n' if !ARCH_HAS_DEBUG_VM_PGTABLE >> default 'y' if DEBUG_VM > > Does it really necessary to potentially force all bots to run this? Syzbot, kernel test robot etc? Does it ever pay off for all their machine times there? > Machine time ? On a 32 bits powerpc running at 132 MHz, the tests takes less than 10ms. Is it worth taking the risk of not detecting faults by not selecting it by default ? [ 5.656916] debug_vm_pgtable: debug_vm_pgtable: Validating architecture page table helpers [ 5.665661] debug_vm_pgtable: debug_vm_pgtable: Validated architecture page table helpers Christophe