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 <[email protected]>");
>> +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().
- [PATCH V2 0/2] mm/debug: Add tests for architecture exp... Anshuman Khandual
- [PATCH V2 1/2] mm/hugetlb: Make alloc_gigantic_pag... Anshuman Khandual
- [PATCH V2 2/2] mm/pgtable/debug: Add test validati... Anshuman Khandual
- Re: [PATCH V2 2/2] mm/pgtable/debug: Add test ... Kirill A. Shutemov
- Re: [PATCH V2 2/2] mm/pgtable/debug: Add t... Anshuman Khandual
- Re: [PATCH V2 2/2] mm/pgtable/debug: Add test ... Christophe Leroy
- Re: [PATCH V2 2/2] mm/pgtable/debug: Add t... Christophe Leroy
- Re: [PATCH V2 2/2] mm/pgtable/debug: A... Christophe Leroy
- Re: [PATCH V2 2/2] mm/pgtable/deb... Christophe Leroy
- Re: [PATCH V2 2/2] mm/pgtable/debug: Add test ... Christophe Leroy
- [PATCH] mm/pgtable/debug: Fix test validat... Christophe Leroy
- Re: [PATCH] mm/pgtable/debug: Fix test... Anshuman Khandual
- Re: [PATCH] mm/pgtable/debug: Fix... Christophe Leroy
- Re: [PATCH] mm/pgtable/debug:... Christophe Leroy
- Re: [PATCH] mm/pgtable/de... Anshuman Khandual

