git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66e13e6
)
hugetlb: release pages in the error path of hugetlb_cow()
author
Hillf Danton
<dhillf@gmail.com>
Tue, 15 Nov 2011 22:36:12 +0000
(14:36 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 16 Nov 2011 00:41:52 +0000
(22:41 -0200)
If we fail to prepare an anon_vma, the {new, old}_page should be released,
or they will leak.
Signed-off-by: Hillf Danton <dhillf@gmail.com>
Reviewed-by: Andrea Arcangeli <aarcange@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Johannes Weiner <jweiner@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/hugetlb.c
patch
|
blob
|
history
diff --cc
mm/hugetlb.c
Simple merge