Re: [RFC PATCH, x86]: Disable CPA cache flush for selfsnoop targets

From: Andi Kleen
Date: Mon Jul 15 2019 - 15:39:40 EST


> Right, we don't know where the PAT invocation comes from and whether they
> are safe to omit flushing the cache. The module load code would be one
> obvious candidate.

Module load just changes the writable/executable status, right? That shouldn't
need to flush in any case because it doesn't change the caching attributes.

-Andi