mbox series

[RFC,0/2] mm: tweak page cache migration

Message ID 20200501210516.DFAFF456@viggo.jf.intel.com (mailing list archive)
Headers show
Series mm: tweak page cache migration | expand

Message

Dave Hansen May 1, 2020, 9:05 p.m. UTC
First of all, I think this little slice of code is a bit
under-documented.  Perhaps this will help clarify things.

I'm pretty confident the page_count() check in the first
patch is right, which is why I removed it outright.  The
xas_load() check is a bit murkier, so I just left a
warning in for it.

Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Yang Shi <yang.shi@linux.alibaba.com>
Cc: linux-mm@kvack.org
Cc: linux-kernel@vger.kernel.org