Re: [PATCH v2 3/4] drm/i915: Mark all non-vma being inserted into the address spaces

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

 



On pe, 2016-11-18 at 09:05 +0000, Chris Wilson wrote:
> On Thu, Nov 17, 2016 at 02:12:19PM +0000, Chris Wilson wrote:
> > I've used i915_mm elsewhere as a subclass of struct mm, so a little wary
> > of I915_MM. The other users are enum i915_cache_level, but I didn't want
> > to imply that this is a cache level and I wanted something that could
> > clearly demarque the I-am-not-vma.
> > 
> > Maybe COLOR_ME_PINNED?
> 
> This morning I feel more like
> #define COLOR_UNEVICTABLE (-1)

I'd still slap at least I915_ in the front.

Regards, Joonas

> -Chris
> 
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://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