mm-thp-pagecache-only-withdraw-page-table-after-a-successful-deposit.patch removed from -mm tree
The patch titled
Subject: mm/thp/pagecache: only withdraw page table after a successful deposit
has been removed from the -mm tree. Its filename was
mm-thp-pagecache-only-withdraw-page-table-after-a-successful-deposit.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: "Aneesh Kumar K.V" <[email protected]>
Subject: mm/thp/pagecache: only withdraw page table after a successful deposit
The current code wrongly called withdraw in the error path. But we haven't depoisted the page table yet in the only error path in that function. So for now remove that withdraw completely. If we take that "out:" branch, we should have vmf->prealloc_pte already pointing to the allocated page table.
---
mm/memory.c | 7 ------- 1 file changed, 7 deletions(-)
mm/memory.c renamed from mm/memory.c~mm-thp-pagecache-only-withdraw-page-table-after-a-successful-deposit +0 -7
@@ -3008,13 +3008,6 @@ static int do_set_pmd(struct vm_fault *v ret =0 ;count_vm_event (THP_FILE_MAPPED ); out: -/* -* If we are going to fallback to pte mapping, do a -* withdraw with pmd lock held. -*/ -if (arch_needs_pgtable_deposit () && ret ==VM_FAULT_FALLBACK ) - vmf->prealloc_pte =pgtable_trans_huge_withdraw (vma->vm_mm, - vmf->pmd);spin_unlock (vmf->ptl);return ret; }
_
Patches currently in -mm which might be from [email protected] are