Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144355
b: refs/heads/master
c: bc43f75
h: refs/heads/master
i:
  144353: a5da112
  144351: b3b302e
v: v3
  • Loading branch information
Johannes Weiner authored and Linus Torvalds committed May 2, 2009
1 parent c7aab89 commit 8d7090f
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 53951bd57dfe2da58f86cdf276719082d80d8485
refs/heads/master: bc43f75cd9815833b27831600ccade672edb5e43
4 changes: 2 additions & 2 deletions trunk/mm/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -2458,8 +2458,7 @@ static int do_swap_page(struct mm_struct *mm, struct vm_area_struct *vma,

if (mem_cgroup_try_charge_swapin(mm, page, GFP_KERNEL, &ptr)) {
ret = VM_FAULT_OOM;
unlock_page(page);
goto out;
goto out_page;
}

/*
Expand Down Expand Up @@ -2521,6 +2520,7 @@ static int do_swap_page(struct mm_struct *mm, struct vm_area_struct *vma,
out_nomap:
mem_cgroup_cancel_charge_swapin(ptr);
pte_unmap_unlock(page_table, ptl);
out_page:
unlock_page(page);
page_cache_release(page);
return ret;
Expand Down

0 comments on commit 8d7090f

Please sign in to comment.