From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Anholt Subject: Re: [PATCH 3/3] agp/intel: Destroy the scatterlist on allocation failure Date: Sun, 01 Aug 2010 19:26:29 -0700 Message-ID: <874ofdwy0a.fsf@pollan.anholt.net> References: <1279992577-31841-1-git-send-email-chris@chris-wilson.co.uk> <1279992577-31841-3-git-send-email-chris@chris-wilson.co.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1029997284==" Return-path: In-Reply-To: <1279992577-31841-3-git-send-email-chris@chris-wilson.co.uk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Chris Wilson , dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1029997284== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= On Sat, 24 Jul 2010 18:29:37 +0100, Chris Wilson 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. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkxWLNUACgkQHUdvYGzw6vew6wCdEqQNpAG3g1I6dtd486U51T0C BnwAn3wCsSD2wCTl7fJ+znSlGDcxhKmT =aP4z -----END PGP SIGNATURE----- --=-=-=-- --===============1029997284== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1029997284==--