Re: [PATCH] mm: remove pte_lock_deinit()

From: Matthew Wilcox
Date: Wed Nov 28 2018 - 21:42:31 EST

On Wed, Nov 28, 2018 at 04:55:25PM -0700, Yu Zhao wrote:
> Pagetable page doesn't touch page->mapping or have any used field
> that overlaps with it. No need to clear mapping in dtor. In fact,
> doing so might mask problems that otherwise would be detected by
> bad_page().
> Signed-off-by: Yu Zhao <yuzhao@xxxxxxxxxx>

Reviewed-by: Matthew Wilcox <willy@xxxxxxxxxxxxx>

I do have plans to use page->mapping for pt_mm, but this patch won't
get in my way when I find the round tuits to do that work.