[PATCH] Xext/shm: Detach SHM segment after Pixmap is released

Adam Jackson ajax at nwnk.net
Fri Oct 17 07:23:39 PDT 2014


On Thu, 2014-10-16 at 16:22 +0100, Chris Wilson wrote:
> On Thu, Oct 16, 2014 at 02:09:08PM +0100, Chris Wilson wrote:
> > The GPU may still have a reference to the SHM segment which would only
> > be finally released when the Pixmap is destroy. So we can only detach
> > the SHM segment (and thereby making the memory unaccessible) after the
> > backend has had a chance to flush any remaining references.
>  
> Reported-and-tested-by: gedgon at gmail.com

Reviewed-by: Adam Jackson <ajax at redhat.com>

- ajax



More information about the xorg-devel mailing list