[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190710175245.GC11197@cmpxchg.org>
Date: Wed, 10 Jul 2019 13:52:45 -0400
From: Johannes Weiner <hannes@...xchg.org>
To: Song Liu <songliubraving@...com>
Cc: linux-mm@...ck.org, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org, matthew.wilcox@...cle.com,
kirill.shutemov@...ux.intel.com, kernel-team@...com,
william.kucharski@...cle.com, akpm@...ux-foundation.org,
hdanton@...a.com
Subject: Re: [PATCH v9 2/6] filemap: update offset check in filemap_fault()
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@...riel.com>
> Signed-off-by: Song Liu <songliubraving@...com>
Acked-by: Johannes Weiner <hannes@...xchg.org>
Powered by blists - more mailing lists