Re: [Intel-gfx] [PATCH 4/4] drm/i915: Invalidate our pages under memory pressure

2014-05-20 Thread Daniel Vetter
On Tue, Mar 25, 2014 at 01:23:06PM +, 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

Re: [Intel-gfx] [PATCH 4/4] drm/i915: Invalidate our pages under memory pressure

2014-05-20 Thread Chris Wilson
On Tue, May 20, 2014 at 09:53:28AM +0200, Daniel Vetter wrote: On Tue, Mar 25, 2014 at 01:23:06PM +, 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,

Re: [Intel-gfx] [PATCH 4/4] drm/i915: Invalidate our pages under memory pressure

2014-05-20 Thread Daniel Vetter
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 +, Chris Wilson wrote: Try to flush out dirty pages into the swapcache (and from there into the swapfile) when under memory

Re: [Intel-gfx] [PATCH 4/4] drm/i915: Invalidate our pages under memory pressure

2014-05-19 Thread Barbalho, Rafael
-Original Message- From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of Chris Wilson Sent: Tuesday, March 25, 2014 1:23 PM To: intel-gfx@lists.freedesktop.org Cc: Hugh Dickins Subject: [Intel-gfx] [PATCH 4/4] drm/i915: Invalidate our pages under memory

Re: [Intel-gfx] [PATCH 4/4] drm/i915: Invalidate our pages under memory pressure

2014-04-22 Thread Daniel Vetter
On Thu, Apr 17, 2014 at 07:34:31PM +0300, Jani Nikula wrote: On Wed, 16 Apr 2014, Robert Beckett robert.beck...@intel.com wrote: On 25/03/2014 13:23, Chris Wilson wrote: Try to flush out dirty pages into the swapcache (and from there into the swapfile) when under memory pressure and forced

Re: [Intel-gfx] [PATCH 4/4] drm/i915: Invalidate our pages under memory pressure

2014-04-22 Thread Robert Beckett
On 22 April 2014 20:06:14, Daniel Vetter wrote: On Thu, Apr 17, 2014 at 07:34:31PM +0300, Jani Nikula wrote: On Wed, 16 Apr 2014, Robert Beckett robert.beck...@intel.com wrote: On 25/03/2014 13:23, Chris Wilson wrote: Try to flush out dirty pages into the swapcache (and from there into the

Re: [Intel-gfx] [PATCH 4/4] drm/i915: Invalidate our pages under memory pressure

2014-04-17 Thread Jani Nikula
On Wed, 16 Apr 2014, Robert Beckett robert.beck...@intel.com wrote: On 25/03/2014 13:23, 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

Re: [Intel-gfx] [PATCH 4/4] drm/i915: Invalidate our pages under memory pressure

2014-04-16 Thread Robert Beckett
On 25/03/2014 13:23, 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

Re: [Intel-gfx] [PATCH 4/4] drm/i915: Invalidate our pages under memory pressure

2014-04-11 Thread Chris Wilson
On Tue, Mar 25, 2014 at 01:23:06PM +, 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

Re: [Intel-gfx] [PATCH 4/4] drm/i915: Invalidate our pages under memory pressure

2014-04-11 Thread Daniel Vetter
On Fri, Apr 11, 2014 at 09:30:20AM +0100, Chris Wilson wrote: On Tue, Mar 25, 2014 at 01:23:06PM +, 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,

Re: [Intel-gfx] [PATCH 4/4] drm/i915: Invalidate our pages under memory pressure

2014-04-11 Thread Chris Wilson
On Fri, Apr 11, 2014 at 10:38:25AM +0200, Daniel Vetter wrote: On Fri, Apr 11, 2014 at 09:30:20AM +0100, Chris Wilson wrote: On Tue, Mar 25, 2014 at 01:23:06PM +, Chris Wilson wrote: Try to flush out dirty pages into the swapcache (and from there into the swapfile) when under memory

[Intel-gfx] [PATCH 4/4] drm/i915: Invalidate our pages under memory pressure

2014-03-25 Thread Chris Wilson
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