From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935009AbYEVIjk (ORCPT ); Thu, 22 May 2008 04:39:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S934324AbYEVIjW (ORCPT ); Thu, 22 May 2008 04:39:22 -0400 Received: from one.firstfloor.org ([213.235.205.2]:47410 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934224AbYEVIjU (ORCPT ); Thu, 22 May 2008 04:39:20 -0400 Date: Thu, 22 May 2008 10:47:36 +0200 From: Andi Kleen To: Glauber Costa Cc: Miquel van Smoorenburg , linux-kernel@vger.kernel.org, linux-mm@kvack.org, andi-suse@firstfloor.org Subject: Re: 2.6.26: x86/kernel/pci_dma.c: gfp |= __GFP_NORETRY ? Message-ID: <20080522084736.GC31727@one.firstfloor.org> References: <20080521113028.GA24632@xs4all.net> <48341A57.1030505@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48341A57.1030505@redhat.com> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 21, 2008 at 09:49:27AM -0300, Glauber Costa wrote: > probably andi has a better idea on why it was added, since it used to > live in his tree? d_a_c() tries a couple of zones, and running the oom killer for each is inconvenient. Especially for the 16MB DMA zone which is unlikely to be cleared by the OOM killer anyways because normal user applications don't put pages in there. There was a real report with some problems in this area. Also for the earlier tries you don't want to really bring the system into swap. Mask allocator would clean most of that up. -Andi