From: John Hubbard <jhubb...@nvidia.com> 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