From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCH] 1/3 Implement generic device DMA mapping support Date: Mon, 01 Mar 2004 19:44:59 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <20040229223820.C17862@flint.arm.linux.org.uk> <20040301174517.J24955@flint.arm.linux.org.uk> <20040301182224.M24955@flint.arm.linux.org.uk> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Russell King Cc: Jaroslav Kysela , Alsa Devel list List-Id: alsa-devel@alsa-project.org At Mon, 01 Mar 2004 19:34:57 +0100, I wrote: > > at the initialization. when __get_free_pages() for 256MB with > GFP_KERNEL is called, it goes to sleep and never gets back. additional note: 256MB might be wrong but anyway it was a large number. the driver tries to allocate as large buffers as possible at the initialization. but, the stall did happen even with much smaller sizes, when the memory pages are fragmented. and, yes, it's logical that it happens :) anyway, that's why GFP_KERNEL was introduced only for allocation of a single page in the old codes as a hack. Takashi ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click