Quoting Tvrtko Ursulin (2019-02-28 07:56:20) > > On 27/02/2019 23:09, Chris Wilson wrote: > > We currently use a worker queued from an rcu callback to determine when > > a how grace period has elapsed while we remained idle. We use this idle > > delay to infer that we will be idle for a while and this is a suitable > > point at which we can trim our global memory caches. > > > > Since we wrote that, this mechanism now exists as rcu_work, and having > > converted the idle shrinkers over to using that, we can remove our own > > variant. > > By the look of it gt.epoch can be completely ripped out. Yup, my first thought was that I remember some trickery involving epoch and mock, but that too looks like it has evaporated. -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx