mm-memoryc-replace-vmf-vma-with-variable-vma.patch removed from -mm tree
The patch titled
Subject: mm/memory.c: replace vmf->vma with variable vma
has been removed from the -mm tree. Its filename was
mm-memoryc-replace-vmf-vma-with-variable-vma.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Yanfei Xu <[email protected]>
Subject: mm/memory.c: replace vmf->vma with variable vma
The code has declared a vma_struct named vma which is assigned a value of vmf->vma. Thus, use variable vma directly here.
Signed-off-by Yanfei Xu <[email protected]>
Reviewed-by Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/memory.c renamed from mm/memory.c~mm-memoryc-replace-vmf-vma-with-variable-vma +1 -1
@@ -3597,7 +3597,7 @@ static vm_fault_t __do_fault(struct vm_f* # flush A, B to clear the writeback */ if (pmd_none (*vmf->pmd) && !vmf->prealloc_pte) { - vmf->prealloc_pte =pte_alloc_one (vmf->vma->vm_mm); + vmf->prealloc_pte =pte_alloc_one (vma->vm_mm);if (!vmf->prealloc_pte)return VM_FAULT_OOM ;smp_wmb ();/* See comment in __pte_alloc() */
_
Patches currently in -mm which might be from [email protected] are