projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e97f3f
)
mm: cma: alloc_contig_range: return early for err path
author
Bob Liu
<lliubbo@gmail.com>
Tue, 23 Oct 2012 06:45:57 +0000
(14:45 +0800)
committer
Marek Szyprowski
<m.szyprowski@samsung.com>
Tue, 23 Oct 2012 12:05:33 +0000
(14:05 +0200)
If start_isolate_page_range() failed, unset_migratetype_isolate() has been
done inside it.
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
mm/page_alloc.c
patch
|
blob
|
history
diff --git
a/mm/page_alloc.c
b/mm/page_alloc.c
index
bb90971
..
b0012ab
100644
(file)
--- a/
mm/page_alloc.c
+++ b/
mm/page_alloc.c
@@
-5825,7
+5825,7
@@
int alloc_contig_range(unsigned long start, unsigned long end,
ret = start_isolate_page_range(pfn_max_align_down(start),
pfn_max_align_up(end), migratetype);
if (ret)
-
goto done
;
+
return ret
;
ret = __alloc_contig_migrate_range(&cc, start, end);
if (ret)