1. Dec 08, 2009
  2. Dec 02, 2009
  3. Dec 01, 2009
  4. Nov 26, 2009
  5. Nov 25, 2009
    • Eric Anholt's avatar
      drm/i915: Replace a calloc followed by copying data over it with malloc. · c8e0f93a
      Eric Anholt authored
      
      
      Execbufs involve quite a bit of payload, to the extent that cache misses
      show up in the profiles here, and a suspicion that some of those cachelines
      may get evicted and then reloaded in the subsequent copy.
      
      This is still abstracted like drm_calloc_large since we want to check for
      size overflow, and because we want to choose between kmalloc and vmalloc
      on the fly.  cairo's interface for malloc-with-calloc's-args was used as
      the model.
      
      Signed-off-by: default avatarEric Anholt <eric@anholt.net>
      c8e0f93a
  6. Nov 18, 2009