Re: [RFC PATCH 0/7] x86/intel_rdt: Restoration of Cache Pseudo-Locked regions

From: Peter Zijlstra
Date: Fri Aug 03 2018 - 11:51:43 EST


On Fri, Aug 03, 2018 at 08:40:25AM -0700, Reinette Chatre wrote:

> > Can we just get rid of WBINVD?
>
> While directed at me I am not able to answer this. native_wbinvd() is
> used in a few areas that appear important to me.

Some, like the crusty AGP gart or boot time mem_encrypt usage is fine,
the former nobody cares about, the latter is not interresting because
boot-time.

But others like the drm_cache usage is utter nonense and should really
be replaced like we already do in cpa_flush_array() for PREEMPT, and
this should really be made unconditional.