From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4E3A7EC6.2000908@marcansoft.com> Date: Thu, 04 Aug 2011 13:13:10 +0200 From: Hector Martin MIME-Version: 1.0 To: Geert Uytterhoeven Subject: Re: [PATCH 03/15] [PS3] Add region 1 memory early References: <1312228986-32307-1-git-send-email-a.heider@gmail.com> <1312228986-32307-4-git-send-email-a.heider@gmail.com> <4E39CC79.3050208@infradead.org> <4E39E302.9060702@marcansoft.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Cc: Geoff Levand , cbe-oss-dev@lists.ozlabs.org, Andre Heider , linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 08/04/2011 09:05 AM, Geert Uytterhoeven wrote: > The reason for that is to make sure the allocations will succeed. > Chances are very > slim you can allocate a contiguous 9 MiB buffer at any arbitrary time. Fair enough, but then they don't need to happen as early as they do now; any time during kernel startup should work (as long as they aren't freed with the drivers if they're unloaded). How about switching to __get_free_pages and doing the allocation inside an arch_initcall or similar? -- Hector Martin (hector@marcansoft.com) Public Key: http://www.marcansoft.com/marcan.asc