> As the shrinker may be invoked for the allocation, and it may reap
> neighbouring objects in the offset range mm, we need to be careful in
> the order in which we allocate the node, search for free space and then
> insert the node into the mmap offset range manager.

Maybe I'm being a bit stupid here, but this seems like a pointless
micro optimisation thrown in with a
deinlining.

Surely just calling drm_gem_create_mmap_offset a few times would work fine.

Like does it really fail that often, and is the extra overhead when it
does going to matter?

Dave.
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to