[PATCH 3/3] agp/intel: Destroy the scatterlist on allocation failure

Eric Anholt eric at anholt.net
Sun Aug 1 19:26:29 PDT 2010


On Sat, 24 Jul 2010 18:29:37 +0100, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> A side-effect of being able to use custom page allocations with the
> sg_table is that it cannot reap the partially constructed scatterlist if
> fails to allocate a page. So we need to call sg_free_table() ourselves
> if sg_alloc_table() fails.

Applied to -next.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20100801/e0af141a/attachment.pgp>


More information about the dri-devel mailing list