[Intel-gfx] [PATCH 3/3] drm/i915: Memory node free handling on truncation of stolen obj

Gupta, Sourab sourab.gupta at intel.com
Fri Mar 7 11:50:00 CET 2014


Hi Chris,

Not able to locate where the node is removed. I looked primarily around the put_pages function but
the node doesn't seem to be removed there. Can you please let us know where the node is removed

Regards,
Sourab

-----Original Message-----
From: Chris Wilson [mailto:chris at chris-wilson.co.uk] 
Sent: Friday, March 07, 2014 3:32 PM
To: Gupta, Sourab
Cc: intel-gfx at lists.freedesktop.org; Vetter, Daniel; Wilson, Chris
Subject: Re: [Intel-gfx] [PATCH 3/3] drm/i915: Memory node free handling on truncation of stolen obj

On Fri, Mar 07, 2014 at 03:29:27PM +0530, sourab.gupta at intel.com wrote:
> From: Sourab Gupta <sourab.gupta at intel.com>
> 
> While we are freeing the purgeable stolen object, the memory node has 
> to be freed so as to make space for the new object.
> 

The node has already been removed from the stolen mm, so this should be triggering a WARN.
-Chris

--
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list