On Fri, Jul 17, 2020 at 05:30:27PM +0800, Alex Shi wrote: > > Add a VM_WARN_ON for tracking. and updated comments for the code. > > Thanks > > --- > From f1381a1547625a6521777bf9235823d8fbd00dac Mon Sep 17 00:00:00 2001 > From: Alex Shi <alex.shi@xxxxxxxxxxxxxxxxx> > Date: Fri, 10 Jul 2020 16:54:37 +0800 > Subject: [PATCH v16 14/22] mm/thp: add tail pages into lru anyway in > split_huge_page() > MIME-Version: 1.0 > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: 8bit > > Split_huge_page() must start with PageLRU(head), and we are holding the > lru_lock here. If the head was cleared lru bit unexpected, tracking it. > > Signed-off-by: Alex Shi <alex.shi@xxxxxxxxxxxxxxxxx> Reviewed-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx> -- Kirill A. Shutemov