On Fri, 10 Feb 2012 18:32:21 +0100
Marek Szyprowski <[email protected]> wrote:

> From: Michal Nazarewicz <[email protected]>
> 
> 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 <[email protected]>
> Signed-off-by: Marek Szyprowski <[email protected]>
> Acked-by: Mel Gorman <[email protected]>
> Tested-by: Rob Clark <[email protected]>
> Tested-by: Ohad Ben-Cohen <[email protected]>
> Tested-by: Benjamin Gaignard <[email protected]>

Hmm, I may have to refactoring memory hot unplug code using this :)

Thanks,
Reviewed-by: KAMEZAWA Hiroyuki <[email protected]>


--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to