From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261239AbUJWJcQ (ORCPT ); Sat, 23 Oct 2004 05:32:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263818AbUJWJcQ (ORCPT ); Sat, 23 Oct 2004 05:32:16 -0400 Received: from smtp207.mail.sc5.yahoo.com ([216.136.129.97]:40545 "HELO smtp207.mail.sc5.yahoo.com") by vger.kernel.org with SMTP id S261239AbUJWJcN (ORCPT ); Sat, 23 Oct 2004 05:32:13 -0400 Message-ID: <417A251A.2040209@yahoo.com.au> Date: Sat, 23 Oct 2004 19:32:10 +1000 From: Nick Piggin User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040820 Debian/1.7.2-4 X-Accept-Language: en MIME-Version: 1.0 To: Justin Piszcz CC: linux-kernel@vger.kernel.org Subject: Re: Page Allocation Failures Return With 2.6.9+TSO patch. References: <417A2106.7010804@yahoo.com.au> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Justin Piszcz wrote: > Applying this patch now and I will let everyone know what happens, thanks. > > On Sat, 23 Oct 2004, Nick Piggin wrote: > >> Justin Piszcz wrote: >> >>> Kernel 2.6.9 w/TSO patch. >>> >>> (most likely do to the e1000/nic/issue) >>> >>> $ dmesg >>> gaim: page allocation failure. order:4, mode:0x21 >>> [] __alloc_pages+0x247/0x3b0 >>> [] __get_free_pages+0x18/0x40 >>> [] sound_alloc_dmap+0xaa/0x1b0 >>> [] ad_mute+0x20/0x40 >>> [] open_dmap+0x1f/0x100 >>> [] DMAbuf_open+0x178/0x1d0 >>> [] audio_open+0xba/0x280 >>> [] cdev_get+0x53/0xc0 >>> [] sound_open+0xac/0x110 >>> [] soundcore_open+0x1ce/0x300 >>> [] soundcore_open+0x0/0x300 >>> [] chrdev_open+0x104/0x250 >>> [] chrdev_open+0x0/0x250 >>> [] dentry_open+0x1d2/0x270 >>> [] filp_open+0x5c/0x70 >>> [] common_interrupt+0x18/0x20 >>> [] get_unused_fd+0x55/0xf0 >>> [] sys_open+0x49/0x90 >>> [] syscall_call+0x7/0xb >> >> >> Ouch, 64K atomic DMA allocation. >> >> The DMA zone barely even keeps that much total memory free. >> >> The caller probably wants fixing, but you could try this patch... >> > Oh... these allocation failure don't actually hurt anything, do they? sound_alloc_dmap would have just reverted to using a 32K buffer instead of a 64K one. Probably the easiest thing to do is stick a __GFP_NOWARN on that allocation.