From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH 4/4] drm/i915: Invalidate our pages under memory pressure Date: Tue, 20 May 2014 10:12:22 +0200 Message-ID: <20140520081222.GF8790@phenom.ffwll.local> References: <1395753786-6442-1-git-send-email-chris@chris-wilson.co.uk> <1395753786-6442-4-git-send-email-chris@chris-wilson.co.uk> <20140520075328.GA8790@phenom.ffwll.local> <20140520075608.GJ11754@nuc-i3427.alporthouse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f44.google.com (mail-ee0-f44.google.com [74.125.83.44]) by gabe.freedesktop.org (Postfix) with ESMTP id 01AB06E145 for ; Tue, 20 May 2014 01:12:26 -0700 (PDT) Received: by mail-ee0-f44.google.com with SMTP id c41so264271eek.31 for ; Tue, 20 May 2014 01:12:26 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20140520075608.GJ11754@nuc-i3427.alporthouse.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Chris Wilson , Daniel Vetter , intel-gfx@lists.freedesktop.org, Hugh Dickins List-Id: intel-gfx@lists.freedesktop.org On Tue, May 20, 2014 at 08:56:08AM +0100, Chris Wilson wrote: > On Tue, May 20, 2014 at 09:53:28AM +0200, Daniel Vetter wrote: > > On Tue, Mar 25, 2014 at 01:23:06PM +0000, Chris Wilson wrote: > > > Try to flush out dirty pages into the swapcache (and from there into the > > > swapfile) when under memory pressure and forced to drop GEM objects from > > > memory. In effect, this should just allow us to discard unused pages for > > > memory reclaim and to start writeback earlier. > > > > > > v2: Hugh Dickins warned that explicitly starting writeback from > > > shrink_slab was prone to deadlocks within shmemfs. > > > > > > Cc: Hugh Dickins > > > Signed-off-by: Chris Wilson > > > > Merged all four patches. Can you please go through bugzilla and poke all > > relevant patches for retesting? I think I've made a sufficient fool of > > myself yesterday to not attempt this ;-) > > 4 patches? The series tested had 5... Those 5 didn't show up till just today ;-) -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch