Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 21088
b: refs/heads/master
c: 6f5e6b9
h: refs/heads/master
v: v3
  • Loading branch information
Hugh Dickins authored and Linus Torvalds committed Mar 17, 2006
1 parent 208165a commit 4145e3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7670f023aabd976c25862e4c6fb9f6d9d2758153
refs/heads/master: 6f5e6b9e69bf043074a0edabe3d271899c34eb79
5 changes: 3 additions & 2 deletions trunk/mm/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -623,11 +623,12 @@ static unsigned long zap_pte_range(struct mmu_gather *tlb,
(*zap_work)--;
continue;
}

(*zap_work) -= PAGE_SIZE;

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

(*zap_work) -= PAGE_SIZE;

page = vm_normal_page(vma, addr, ptent);
if (unlikely(details) && page) {
/*
Expand Down

0 comments on commit 4145e3a

Please sign in to comment.