Re: [PATCHv4 31/39] thp: consolidate code between handle_mm_fault() and do_huge_pmd_anonymous_page()

2013-05-21 Thread Hillf Danton
On Sun, May 12, 2013 at 9:23 AM, Kirill A. Shutemov wrote: > From: "Kirill A. Shutemov" > > do_huge_pmd_anonymous_page() has copy-pasted piece of handle_mm_fault() > to handle fallback path. > > Let's consolidate code back by introducing VM_FAULT_FALLBACK return > code. > > Signed-off-by: Kirill

Re: [PATCHv4 31/39] thp: consolidate code between handle_mm_fault() and do_huge_pmd_anonymous_page()

2013-05-21 Thread Dave Hansen
On 05/11/2013 06:23 PM, Kirill A. Shutemov wrote: > From: "Kirill A. Shutemov" > > do_huge_pmd_anonymous_page() has copy-pasted piece of handle_mm_fault() > to handle fallback path. > > Let's consolidate code back by introducing VM_FAULT_FALLBACK return > code. > > Signed-off-by: Kirill A. Shut

[PATCHv4 31/39] thp: consolidate code between handle_mm_fault() and do_huge_pmd_anonymous_page()

2013-05-11 Thread Kirill A. Shutemov
From: "Kirill A. Shutemov" do_huge_pmd_anonymous_page() has copy-pasted piece of handle_mm_fault() to handle fallback path. Let's consolidate code back by introducing VM_FAULT_FALLBACK return code. Signed-off-by: Kirill A. Shutemov --- include/linux/huge_mm.h |3 --- include/linux/mm.h