If we fail to flush outstanding GPU writes but return the memory to the
system, we risk corrupting memory should the GPU recovery and complete
those writes. On the other hand, if we bail early and free the object
then we have a definite use-after-free and real memory corruption.
Choose the lesser o
On Fri, 23 Jul 2010 23:18:51 +0100, Chris Wilson
wrote:
> If we fail to flush outstanding GPU writes but return the memory to the
> system, we risk corrupting memory should the GPU recovery and complete
> those writes. On the other hand, if we bail early and free the object
> then we have a defin