diff options
author | Michal Nazarewicz <mina86@mina86.com> | 2011-12-29 13:09:50 +0100 |
---|---|---|
committer | Marek Szyprowski <m.szyprowski@samsung.com> | 2012-05-21 15:09:31 +0200 |
commit | 041d3a8cdc18dc375a128d90bbb753949a81b1fb (patch) | |
tree | 26f5e1b30f638ea148e7deb13c44d0d0f1d39935 /Makefile | |
parent | ff9543fd32060917beb080b1eb2d1d41ec7f39e0 (diff) | |
download | linux-041d3a8cdc18dc375a128d90bbb753949a81b1fb.tar.bz2 |
mm: page_alloc: introduce alloc_contig_range()
This commit adds the alloc_contig_range() function which tries
to allocate given range of pages. It tries to migrate all
already allocated pages that fall in the range thus freeing them.
Once all pages in the range are freed they are removed from the
buddy system thus allocated for the caller to use.
Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Mel Gorman <mel@csn.ul.ie>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Tested-by: Rob Clark <rob.clark@linaro.org>
Tested-by: Ohad Ben-Cohen <ohad@wizery.com>
Tested-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Tested-by: Robert Nelson <robertcnelson@gmail.com>
Tested-by: Barry Song <Baohua.Song@csr.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions