Re: [PATCH] x86: Accelerate copy_page with non-temporal in X86

From: Kemeng Shi
Date: Wed Apr 14 2021 - 01:25:38 EST




on 2021/4/13 22:53, Borislav Petkov wrote:
> I thought "should be better" too last time when I measured rep; movs vs
> NT stores but actual measurements showed no real difference.
Mabye the NT stores make difference when store to slow dimms, like the
persistent memory I just tested. Also, it likely reduces unnecessary cache
load and flush, and benifits the running processes which have data cached.

--
Best wishes
Kemeng Shi