Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233146
b: refs/heads/master
c: 678ff89
h: refs/heads/master
v: v3
  • Loading branch information
KAMEZAWA Hiroyuki authored and Linus Torvalds committed Feb 12, 2011
1 parent a373838 commit a809e54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: f0fdc5e8e6f579310458aef43d1610a0bb5e81a4
refs/heads/master: 678ff896a37afdbca292c7846ec895463aed35a5
2 changes: 1 addition & 1 deletion trunk/mm/huge_memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -1852,7 +1852,6 @@ static void collapse_huge_page(struct mm_struct *mm,
set_pmd_at(mm, address, pmd, _pmd);
spin_unlock(&mm->page_table_lock);
anon_vma_unlock(vma->anon_vma);
mem_cgroup_uncharge_page(new_page);
goto out;
}

Expand Down Expand Up @@ -1898,6 +1897,7 @@ static void collapse_huge_page(struct mm_struct *mm,
return;

out:
mem_cgroup_uncharge_page(new_page);
#ifdef CONFIG_NUMA
put_page(new_page);
#endif
Expand Down

0 comments on commit a809e54

Please sign in to comment.