Skip to content

RFC mm: tweak page cache migration

Dave Hansen linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mm/migrate: remove extra page_count() checkmm/migrate.c+2 -11 reply
2/2mm/migrate: annotate possible unnecessary xas_load()mm/migrate.c+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC][PATCH 0/2] mm: tweak page cache migration

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 <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Matthew Wilcox (Oracle) <[email protected]>
Cc Yang Shi <[email protected]>