On Mon, Jun 24, 2019 at 05:12:42PM -0700, Song Liu wrote: > With THP, current check of offset: > > VM_BUG_ON_PAGE(page->index != offset, page); > > is no longer accurate. Update it to: > > VM_BUG_ON_PAGE(page_to_pgoff(page) != offset, page); > > Acked-by: Rik van Riel <riel@xxxxxxxxxxx> > Signed-off-by: Song Liu <songliubraving@xxxxxx> Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>