[Intel-gfx] [PATCH] drm/i915: Optimize drop-caches

Chris Wilson chris at chris-wilson.co.uk
Wed Jan 31 08:53:48 UTC 2018


Quoting Chris Wilson (2018-01-30 15:44:12)
> @@ -4084,8 +4088,9 @@ i915_drop_caches_set(void *data, u64 val)
>                 drain_delayed_work(&dev_priv->gt.idle_work);
>  
>         if (val & DROP_FREED) {
> -               synchronize_rcu();
> -               i915_gem_drain_freed_objects(dev_priv);
> +               synchronize_rcu_expedited();

So sync_rcu is not enough to process the call_rcu. Hmm.
-Chris


More information about the Intel-gfx mailing list