Messages in this thread | | | Date | Tue, 14 Feb 2012 16:54:10 +0900 | From | KAMEZAWA Hiroyuki <> | Subject | Re: [PATCHv21 06/16] mm: page_alloc: introduce alloc_contig_range() |
| |
On Fri, 10 Feb 2012 18:32:21 +0100 Marek Szyprowski <m.szyprowski@samsung.com> wrote:
> From: Michal Nazarewicz <mina86@mina86.com> > > 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> > Tested-by: Rob Clark <rob.clark@linaro.org> > Tested-by: Ohad Ben-Cohen <ohad@wizery.com> > Tested-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Hmm, I may have to refactoring memory hot unplug code using this :)
Thanks, Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
| |