Re: [PATCH 1/2] drm/i915: Extract i915_gem_shrinker.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 18, 2015 at 10:46:04AM +0100, Daniel Vetter wrote:
> Two code changes:
> - Extract i915_gem_shrinker_init.
> - Inline i915_gem_object_is_purgeable since we open-code it everywhere
>   else too.
> 
> This already has the benefit of pulling all the shrinker code
> together, next patch adds a bit of kerneldoc.
> 
> Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxxx>

Worth it just for i915_gem_shrinker_init().
Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux