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

Commit 6ffdfe72 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mm: release the spinlock on zap_pte_range"

parents 7f8b56c8 2ccc1567
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -1319,6 +1319,9 @@ static unsigned long zap_pte_range(struct mmu_gather *tlb,
		if (pte_none(ptent))
			continue;

		if (need_resched())
			break;

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

@@ -1417,7 +1420,10 @@ static unsigned long zap_pte_range(struct mmu_gather *tlb,
	if (force_flush) {
		force_flush = 0;
		tlb_flush_mmu_free(tlb);
		if (addr != end)
	}

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