mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
Revert "mm: Fix sleeping while atomic during speculative page fault"
This reverts commit 8fbac439e0.
Change-Id: Ifa8e76de6c80a7453969df8bd431b94f9e66e547
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
This commit is contained in:
parent
a01be3aa02
commit
6c8feaacfc
1 changed files with 1 additions and 1 deletions
|
|
@ -3540,7 +3540,7 @@ static vm_fault_t pte_alloc_one_map(struct vm_fault *vmf)
|
|||
{
|
||||
struct vm_area_struct *vma = vmf->vma;
|
||||
|
||||
if (!pmd_none(*vmf->pmd) || (vmf->flags & FAULT_FLAG_SPECULATIVE))
|
||||
if (!pmd_none(*vmf->pmd))
|
||||
goto map_pte;
|
||||
if (vmf->prealloc_pte) {
|
||||
vmf->ptl = pmd_lock(vma->vm_mm, vmf->pmd);
|
||||
|
|
|
|||
Loading…
Reference in a new issue