linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [RFC][PATCH 0/2] mm: tweak page cache migration
@ 2020-05-01 21:05 Dave Hansen
  2020-05-01 21:05 ` [RFC][PATCH 1/2] mm/migrate: remove extra page_count() check Dave Hansen
  2020-05-01 21:05 ` [RFC][PATCH 2/2] mm/migrate: annotate possible unnecessary xas_load() Dave Hansen
  0 siblings, 2 replies; 4+ messages in thread
From: Dave Hansen @ 2020-05-01 21:05 UTC (permalink / raw)
  To: linux-kernel; +Cc: Dave Hansen, npiggin, akpm, willy, yang.shi, linux-mm

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-05-05 20:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-01 21:05 [RFC][PATCH 0/2] mm: tweak page cache migration Dave Hansen
2020-05-01 21:05 ` [RFC][PATCH 1/2] mm/migrate: remove extra page_count() check Dave Hansen
2020-05-05 20:18   ` Yang Shi
2020-05-01 21:05 ` [RFC][PATCH 2/2] mm/migrate: annotate possible unnecessary xas_load() Dave Hansen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).