[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1302628305.8321.2274.camel@nimitz>
Date: Tue, 12 Apr 2011 10:11:45 -0700
From: Dave Hansen <dave@...ux.vnet.ibm.com>
To: Namhyung Kim <namhyung@...il.com>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org,
Timur Tabi <timur@...escale.com>,
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 1/3] rename alloc_pages_exact()
On Wed, 2011-04-13 at 02:07 +0900, Namhyung Kim wrote:
> > if (get_order(size) < MAX_ORDER) {
> > - table = alloc_pages_exact(size, GFP_ATOMIC);
> > + table = get_free_pages_exact(size, GFP_ATOMIC);
>
> This should be table = get_free_pages_exact(GFP_ATOMIC, size);
It's clear that I'm retarded and need to learn how to use sparse. :)
Thanks!
-- Dave
--
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