+ mm-do_mincore-cleanup.patch added to -mm tree
Subsystems (2)
[email protected]
maintainerSubject: + mm-do_mincore-cleanup.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 13 Jan 2014 14:07:38 -0800
The patch titled
Subject: mm: do_mincore() cleanup
has been added to the -mm tree. Its filename is
mm-do_mincore-cleanup.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/mm-do_mincore-cleanup.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/mm-do_mincore-cleanup.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Jianguo Wu <[email protected]>
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.
---
mm/mincore.c | 7 ------- 1 file changed, 7 deletions(-)
mm/mincore.c renamed from mm/mincore.c~mm-do_mincore-cleanup +0 -6
@@ -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);