Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c853f9a authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mm: release the spinlock on zap_pte_range"

parents 9c0dc3d9 d7a64270
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -1146,6 +1146,9 @@ static unsigned long zap_pte_range(struct mmu_gather *tlb,
			continue;
		}

		if (need_resched())
			break;

		if (pte_present(ptent)) {
			struct page *page;

@@ -1227,7 +1230,10 @@ static unsigned long zap_pte_range(struct mmu_gather *tlb,
			__tlb_remove_pte_page(tlb, pending_page);
			pending_page = NULL;
		}
		if (addr != end)
	}

	if (addr != end) {
		cond_resched();
		goto again;
	}