Messages in this thread | | | Subject | [RFC][PATCH 0/2] mm: tweak page cache migration | From | Dave Hansen <> | Date | Fri, 01 May 2020 14:05:16 -0700 |
| |
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
| |