[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4DB88AF0.1050501@freescale.com>
Date: Wed, 27 Apr 2011 16:30:24 -0500
From: Timur Tabi <timur@...escale.com>
To: Dave Hansen <dave@...ux.vnet.ibm.com>
CC: <linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>,
Andi Kleen <andi@...stfloor.org>, Mel Gorman <mel@....ul.ie>,
Andrew Morton <akpm@...ux-foundation.org>,
Michal Nazarewicz <mina86@...a86.com>,
David Rientjes <rientjes@...gle.com>
Subject: Re: [PATCH 2/3] make new alloc_pages_exact()
Dave Hansen wrote:
>
> What I really wanted in the end was a highmem-capable
> alloc_pages_exact(), so here it is. This function can be used to
> allocate unmapped (like highmem) non-power-of-two-sized areas of
> memory. This is in constast to get_free_pages_exact() which can only
> allocate from lowmem.
Is there an easy way to verify that alloc_pages_exact(5MB) really does allocate
only 5MB and not 8MB? Is there some kind of function that returns the amount of
unallocated memory, so I can do a diff?
--
Timur Tabi
Linux kernel developer at Freescale
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists