The patch titled Subject: mm/hmm: move hmm_pfns_clear() closer to where it is used has been removed from the -mm tree. Its filename was mm-hmm-move-hmm_pfns_clear-closer-to-where-it-is-use.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Jérôme Glisse <jglisse@xxxxxxxxxx> Subject: mm/hmm: move hmm_pfns_clear() closer to where it is used Move hmm_pfns_clear() closer to where it is used to make it clear it is not use by page table walkers. Link: http://lkml.kernel.org/r/20180323005527.758-13-jglisse@xxxxxxxxxx Signed-off-by: Jérôme Glisse <jglisse@xxxxxxxxxx> Reviewed-by: John Hubbard <jhubbard@xxxxxxxxxx> Cc: Evgeny Baskakov <ebaskakov@xxxxxxxxxx> Cc: Ralph Campbell <rcampbell@xxxxxxxxxx> Cc: Mark Hairgrove <mhairgrove@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/hmm.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff -puN mm/hmm.c~mm-hmm-move-hmm_pfns_clear-closer-to-where-it-is-use mm/hmm.c --- a/mm/hmm.c~mm-hmm-move-hmm_pfns_clear-closer-to-where-it-is-use +++ a/mm/hmm.c @@ -340,14 +340,6 @@ static int hmm_pfns_bad(unsigned long ad return 0; } -static void hmm_pfns_clear(uint64_t *pfns, - unsigned long addr, - unsigned long end) -{ - for (; addr < end; addr += PAGE_SIZE, pfns++) - *pfns = 0; -} - /* * hmm_vma_walk_hole() - handle a range lacking valid pmd or pte(s) * @start: range virtual start address (inclusive) @@ -506,6 +498,14 @@ fault: return 0; } +static void hmm_pfns_clear(uint64_t *pfns, + unsigned long addr, + unsigned long end) +{ + for (; addr < end; addr += PAGE_SIZE, pfns++) + *pfns = 0; +} + static void hmm_pfns_special(struct hmm_range *range) { unsigned long addr = range->start, i = 0; _ Patches currently in -mm which might be from jglisse@xxxxxxxxxx are -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html