From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Packard Subject: Re: [PATCH 02/16] drm/i915: Refactor pwrite/pread to use single copy of get_user_pages Date: Sun, 15 May 2011 08:36:16 -0700 Message-ID: References: <1305235044-9159-1-git-send-email-chris@chris-wilson.co.uk> <1305235044-9159-3-git-send-email-chris@chris-wilson.co.uk> <8f4a6f$m8pck9@orsmga001.jf.intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1315066306==" Return-path: Received: from keithp.com (home.keithp.com [63.227.221.253]) by gabe.freedesktop.org (Postfix) with ESMTP id C71779E764 for ; Sun, 15 May 2011 08:36:19 -0700 (PDT) In-Reply-To: <8f4a6f$m8pck9@orsmga001.jf.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Chris Wilson Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============1315066306== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable On Sun, 15 May 2011 09:00:51 +0100, Chris Wilson = wrote: > We're not performing the same trick as drm_malloc_ab() here though, since > this is only used for a temporary allocation we try to consume any > high-order pages, rather than building an array of order-0 pages, knowing > that they will be released shortly afterwards. If you want a 'large temporary allocator', then please feel free to convince airlied that we need one in drm. For now, please just use the existing drm function that provides the required interface and which already has the necessary checks against overflow. =2D-=20 keith.packard@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iD8DBQFNz/LwQp8BWwlsTdMRAhE3AKCuaJQm2Bhflhr6G+ohoHS5a5R/9QCeP13E yO/aPCGroizj0SLgCvsWd7k= =6UrO -----END PGP SIGNATURE----- --=-=-=-- --===============1315066306== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============1315066306==--