Skip to content

mm: page_cache_add_speculative(): refactor away duplicate code

[email protected] linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1mm: page_cache_add_speculative(): refactor out some code duplicationinclude/linux/pagemap.h+9 -221 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/1] mm: page_cache_add_speculative(): refactor away duplicate code

From: John Hubbard <[email protected]>

Hi,

I ran across this while working on the get_user_pages() + [R]DMA problem, but we might as well remove the small bit of code duplication, independent of gup/dma (which is going to take "a little bit" longer to get submitted, ha).

John Hubbard (1):
mm: page_cache_add_speculative(): refactor out some code duplication

 include/linux/pagemap.h | 31 +++++++++----------------------
 1 file changed, 9 insertions(+), 22 deletions(-)
Signature · 1 line
2.20.1