[PATCH 3/8] mm: alloc_contig_range() added
From: arnd@arndb.de (Arnd Bergmann)
Date: 2011-07-05 11:31:53
Also in:
linux-media, linux-mm, lkml
From: arnd@arndb.de (Arnd Bergmann)
Date: 2011-07-05 11:31:53
Also in:
linux-media, linux-mm, lkml
On Tuesday 05 July 2011, Marek Szyprowski wrote:
From: Michal Nazarewicz <redacted> This commit adds the alloc_contig_range() function which tries to allecate 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 <redacted> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> [m.szyprowski: renamed some variables for easier code reading] Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> CC: Michal Nazarewicz <redacted>
Acked-by: Arnd Bergmann <arnd@arndb.de>