public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] mm: page_cache_add_speculative(): refactor away duplicate code
@ 2019-02-06 23:10 john.hubbard
  2019-02-06 23:10 ` [PATCH 1/1] mm: page_cache_add_speculative(): refactor out some code duplication john.hubbard
  0 siblings, 1 reply; 3+ messages in thread
From: john.hubbard @ 2019-02-06 23:10 UTC (permalink / raw)
  To: Nick Piggin, linux-mm
  Cc: Andrew Morton, Benjamin Herrenschmidt, Dave Kleikamp,
	Hugh Dickins, Jeff Layton, Matthew Wilcox, Vlastimil Babka, LKML,
	John Hubbard

From: John Hubbard <jhubbard@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


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

end of thread, other threads:[~2019-02-08  5:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-06 23:10 [PATCH 0/1] mm: page_cache_add_speculative(): refactor away duplicate code john.hubbard
2019-02-06 23:10 ` [PATCH 1/1] mm: page_cache_add_speculative(): refactor out some code duplication john.hubbard
2019-02-08  5:49   ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox