From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from moutng.kundenserver.de ([212.227.126.171]:53764 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932176Ab1GELa2 (ORCPT ); Tue, 5 Jul 2011 07:30:28 -0400 From: Arnd Bergmann To: Marek Szyprowski Subject: Re: [PATCH 2/8] mm: alloc_contig_freed_pages() added Date: Tue, 5 Jul 2011 13:30:07 +0200 Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-mm@kvack.org, linaro-mm-sig@lists.linaro.org, Michal Nazarewicz , Kyungmin Park , Andrew Morton , KAMEZAWA Hiroyuki , Ankita Garg , Daniel Walker , Mel Gorman , Jesse Barker , Jonathan Corbet , Chunsang Jeong References: <1309851710-3828-1-git-send-email-m.szyprowski@samsung.com> <1309851710-3828-3-git-send-email-m.szyprowski@samsung.com> In-Reply-To: <1309851710-3828-3-git-send-email-m.szyprowski@samsung.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201107051330.07443.arnd@arndb.de> List-ID: Sender: On Tuesday 05 July 2011, Marek Szyprowski wrote: > From: KAMEZAWA Hiroyuki > > This commit introduces alloc_contig_freed_pages() function > which allocates (ie. removes from buddy system) free pages > in range. Caller has to guarantee that all pages in range > are in buddy system. > > Along with this function, a free_contig_pages() function is > provided which frees all (or a subset of) pages allocated > with alloc_contig_free_pages(). > > Michal Nazarewicz has modified the function to make it easier > to allocate not MAX_ORDER_NR_PAGES aligned pages by making it > return pfn of one-past-the-last allocated page. > > Signed-off-by: KAMEZAWA Hiroyuki > Signed-off-by: Michal Nazarewicz > Signed-off-by: Kyungmin Park > Signed-off-by: Marek Szyprowski > CC: Michal Nazarewicz Acked-by: Arnd Bergmann