Re: [LKP] Re: 87c4696d57 ("mm/debug: Add tests validating architecture page .."): [ 1.395296] kernel BUG at include/linux/mm.h:2007!

Christophe Leroy
2020-01-24T08:52:59Z

Le 24/01/2020 à 08:17, Anshuman Khandual a écrit :
>
> On 01/07/2020 12:00 PM, Rong Chen wrote:
>>
>>
>> On 1/7/20 1:57 PM, Anshuman Khandual wrote:
>>> On 12/26/2019 02:19 PM, kernel test robot wrote:
> ...............................................
> p4d_free(mm, saved_p4dp);
> pud_free(mm, saved_pudp);
> pmd_free(mm, saved_pmdp);
> pte_free(mm, saved_ptep);
> mm_dec_nr_puds(mm);
> mm_dec_nr_pmds(mm);
> mm_dec_nr_ptes(mm);
> __mmdrop(mm);
> ..............................................
>

You should use mmdrop() instead of __mmdrop(), shouldn't you ?

Christophe