> > With patch: > > ----------- > > [ 69.815453] mm/pgtable-generic.c:29: bad p4d > 0000000084653642(800000025ca37467) > > [ 69.815872] BUG: Bad rss-counter state mm:00000000014a6c03 > type:MM_FILEPAGES val:2 > > [ 69.815962] BUG: Bad rss-counter state mm:00000000014a6c03 > type:MM_ANONPAGES val:5 > > [ 69.816050] BUG: non-zero pgtables_bytes on freeing mm: 20480 > > > > Also, change print function (from printk(KERN_ALERT, ..) to > > pr_alert()) so that it matches the other print statement. > > > > Cc: Ingo Molnar <mingo@xxxxxxxxxx> > > Cc: Vlastimil Babka <vbabka@xxxxxxx> > > Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx> > > Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> > > Cc: Anshuman Khandual <anshuman.khandual@xxxxxxx> > > Acked-by: Dave Hansen <dave.hansen@xxxxxxxxx> > > Suggested-by: Dave Hansen <dave.hansen@xxxxxxxxx> > > Signed-off-by: Sai Praneeth Prakhya <sai.praneeth.prakhya@xxxxxxxxx> > > Acked-by: Vlastimil Babka <vbabka@xxxxxxx> > > I would also add something like this to reduce risk of breaking it in the > future: Sure! Sounds good to me. Will add it to V3. Regards, Sai