The patch titled Subject: pagemap: remove remaining unneeded spin_lock() has been removed from the -mm tree. Its filename was pagemap-remove-remaining-unneeded-spin_lock.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ From: Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx> Subject: pagemap: remove remaining unneeded spin_lock() commit: 025c5b2451e4 ("thp: optimize away unnecessary page table locking") moves spin_lock() into pmd_trans_huge_lock() in order to avoid locking unless pmd is for thp. So this spin_lock() is a bug. Reported-by: Sasha Levin <levinsasha928@xxxxxxxxx> Signed-off-by: Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/proc/task_mmu.c | 1 - 1 file changed, 1 deletion(-) diff -puN fs/proc/task_mmu.c~pagemap-remove-remaining-unneeded-spin_lock fs/proc/task_mmu.c --- a/fs/proc/task_mmu.c~pagemap-remove-remaining-unneeded-spin_lock +++ a/fs/proc/task_mmu.c @@ -783,7 +783,6 @@ static int pagemap_pte_range(pmd_t *pmd, /* find the first VMA at or above 'addr' */ vma = find_vma(walk->mm, addr); - spin_lock(&walk->mm->page_table_lock); if (pmd_trans_huge_lock(pmd, vma) == 1) { for (; addr != end; addr += PAGE_SIZE) { unsigned long offset; _ Patches currently in -mm which might be from n-horiguchi@xxxxxxxxxxxxx are memcg-fix-change-behavior-of-shared-anon-at-moving-task.patch -- 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