Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2135209ybe; Thu, 12 Sep 2019 05:11:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqycKND16AyruI+xdTdM8KraYUUSESclJuQJsedgRa5eXAnQ+T8ihWDYPA3fUIfXFnvS0Kj3 X-Received: by 2002:a50:9eee:: with SMTP id a101mr19108561edf.128.1568290317960; Thu, 12 Sep 2019 05:11:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568290317; cv=none; d=google.com; s=arc-20160816; b=MT5kPVomQEjtDwPKy4lEBOOv1H26eNRGokc7dmqjiYouopuiWmuh5b99injwmzuzco BtOlaVzP+vqK+B0PdWiPVW/jilK4fUCt2EHOR/8gVsDwJcHKybF+X2pF5Tm9FHwYzyvy FSmrinhB8953DKaKX7COUJNhTDpIH+hRdCFmPrKyRFDpvev1mpIXQ97omCkqwQBWu4Ww dy6y0WRDi9DAqtwKHeKtPyEMWrXuVvcN9MsFFVL+qTKmQcKzA5cESDV00+tDeJBQvS5V XCOmiRXemDTW0oqjV0t4vI92B7V02mv9SFnJnhcz4Nh7Dn6/n/SfTkVfStPDWGa+kf4Z hFjw== 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; bh=HdUBaUeXR9QbMtCtc16NAkJAz/5rEuMzFoWttF12+e0=; b=gRg/U6m9KvL/wUrPY3wI4fbumN7CrsvlcRokU7A2nyYbF59a/lXKYw0Yr0EtRjgVc3 lJlEVBKYgrYc1AA10ODG9arzgszIoXANqyepZcZYqpZrcFOS57W8nnVIvy0mHft0h0WH tbYaxgs3JcxK24toagv1ELpdzy0x/NCImF6Xmjdc2DtYltADyhjIhsQbafyoQP/c3eul aY23kG8NMQhDN33xiDoX2c5APMVQhBeFmwkIFsJ5HdT1xyuTLlyKNRnM4PHzO0oLD+iK PPspeqbmevgrI0WeMuxVKNtzQcw3U99mNlWBMDuAuZQ4qTB+0LqxXM2kY+q98MH5qGrU 0JUg== ARC-Authentication-Results: i=1; mx.google.com; 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 r23si12688775eji.295.2019.09.12.05.11.33; Thu, 12 Sep 2019 05:11:57 -0700 (PDT) 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; 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 S1731560AbfILMJU (ORCPT + 99 others); Thu, 12 Sep 2019 08:09:20 -0400 Received: from foss.arm.com ([217.140.110.172]:33338 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731320AbfILMJT (ORCPT ); Thu, 12 Sep 2019 08:09:19 -0400 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 9F07428; Thu, 12 Sep 2019 05:09:18 -0700 (PDT) Received: from [192.168.0.129] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id BC7263F71F; Thu, 12 Sep 2019 05:09:07 -0700 (PDT) Subject: Re: [PATCH V2 2/2] mm/pgtable/debug: Add test validating architecture page table helpers To: "Kirill A. Shutemov" Cc: 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 , Gerald Schaefer , Christophe Leroy , 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 References: <1568268173-31302-1-git-send-email-anshuman.khandual@arm.com> <1568268173-31302-3-git-send-email-anshuman.khandual@arm.com> <20190912110016.srrydg2krplscbgq@box> From: Anshuman Khandual Message-ID: <0116e7b7-cee5-c821-cc54-f4e397c774b2@arm.com> Date: Thu, 12 Sep 2019 17:39:13 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20190912110016.srrydg2krplscbgq@box> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/12/2019 04:30 PM, Kirill A. Shutemov wrote: > On Thu, Sep 12, 2019 at 11:32:53AM +0530, Anshuman Khandual wrote: >> +MODULE_LICENSE("GPL v2"); >> +MODULE_AUTHOR("Anshuman Khandual "); >> +MODULE_DESCRIPTION("Test architecture page table helpers"); > > It's not module. Why? Not any more. Nothing in particular. Just that module_init() code gets executed after page allocator init which is needed here. But I guess probably not a great way to get this test started. > > BTW, I think we should make all code here __init (or it's variants) so it > can be discarded on boot. It has not use after that. Sounds good, will change. Will mark all these functions as __init and will trigger the test with late_initcall().