Subject: [merged] mm-do_mincore-cleanup.patch removed from -mm tree To: wujianguo@xxxxxxxxxx,hannes@xxxxxxxxxxx,minchan.kim@xxxxxxxxx,n-horiguchi@xxxxxxxxxxxxx,qiuxishi@xxxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Fri, 24 Jan 2014 10:59:13 -0800 The patch titled Subject: mm: do_mincore() cleanup has been removed from the -mm tree. Its filename was mm-do_mincore-cleanup.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Jianguo Wu <wujianguo@xxxxxxxxxx> Subject: mm: do_mincore() cleanup Two cleanups: 1. remove redundant codes for hugetlb pages. 2. end = pmd_addr_end(addr, end) restricts [addr, end) within PMD_SIZE, this may increase do_mincore() calls, remove it. Signed-off-by: Jianguo Wu <wujianguo@xxxxxxxxxx> Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx> Cc: Minchan Kim <minchan.kim@xxxxxxxxx> Cc: qiuxishi <qiuxishi@xxxxxxxxxx> Reviewed-by: Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/mincore.c | 7 ------- 1 file changed, 7 deletions(-) diff -puN mm/mincore.c~mm-do_mincore-cleanup mm/mincore.c --- a/mm/mincore.c~mm-do_mincore-cleanup +++ a/mm/mincore.c @@ -225,13 +225,6 @@ static long do_mincore(unsigned long add end = min(vma->vm_end, addr + (pages << PAGE_SHIFT)); - if (is_vm_hugetlb_page(vma)) { - mincore_hugetlb_page_range(vma, addr, end, vec); - return (end - addr) >> PAGE_SHIFT; - } - - end = pmd_addr_end(addr, end); - if (is_vm_hugetlb_page(vma)) mincore_hugetlb_page_range(vma, addr, end, vec); else _ Patches currently in -mm which might be from wujianguo@xxxxxxxxxx are origin.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