Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751864Ab0A0Liz (ORCPT ); Wed, 27 Jan 2010 06:38:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750915Ab0A0Liy (ORCPT ); Wed, 27 Jan 2010 06:38:54 -0500 Received: from 85-125-174-226.raaba.xdsl-line.inode.at ([85.125.174.226]:41757 "EHLO merlin.merlin.local" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751398Ab0A0Lix (ORCPT ); Wed, 27 Jan 2010 06:38:53 -0500 X-Greylist: delayed 492 seconds by postgrey-1.27 at vger.kernel.org; Wed, 27 Jan 2010 06:38:53 EST Message-ID: <4B6023DF.5070605@reinelt.co.at> Date: Wed, 27 Jan 2010 12:30:39 +0100 From: Michael Reinelt User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.8.0.7) Gecko/20061013 Thunderbird/1.5.0.7 Mnenhy/0.7.4.666 MIME-Version: 1.0 To: Pekka Enberg CC: Chris Wilson , Linus Torvalds , Roman Jarosz , A Rojas , "A. Boulan" , jcnengel@googlemail.com, rientjes@google.com, earny@net4u.de, linux-kernel@vger.kernel.org, intel-gfx@lists.freedesktop.org, KOSAKI Motohiro , Hugh Dickins , Jesse Barnes , Eric Anholt , stable@kernel.org Subject: Re: [PATCH] drm/i915: Selectively enable self-reclaim References: <1264590844-22972-1-git-send-email-chris@chris-wilson.co.uk> <4B602186.8050303@cs.helsinki.fi> In-Reply-To: <4B602186.8050303@cs.helsinki.fi> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1432 Lines: 39 Pekka Enberg schrieb: > Chris Wilson kirjoitti: >> Having missed the ENOMEM return via i915_gem_fault(), there are probably >> other paths that I also missed. By not enabling NORETRY by default these >> paths can run the shrinker and take memory from the system (but not from >> our own inactive lists because our shrinker can not run whilst we hold >> the struct mutex) and this may allow the system to survive a little >> longer >> whilst our drivers consume all available memory. >> >> References: >> OOM killer unexpectedly called with kernel 2.6.32 >> http://bugzilla.kernel.org/show_bug.cgi?id=14933 >> >> Signed-off-by: Chris Wilson >> Cc: KOSAKI Motohiro >> Cc: Hugh Dickins >> Cc: Jesse Barnes >> Cc: Eric Anholt >> Cc: stable@kernel.org > > Roman, can you give this patch a spin? I'm willing to test it, too (I can easily reproduce the problem), but I don't use (and know nothing about) git. Is there a way for me to test it? -- Michael Reinelt http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/