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

From: john . hubbard
Date: Wed Feb 06 2019 - 18:11:04 EST


From: John Hubbard <jhubbard@xxxxxxxxxx>

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(-)

--
2.20.1