Re: [PATCH -next] x86/mm/pat: silence a data race in cpa_4k_install

From: Marco Elver
Date: Tue Jan 21 2020 - 10:37:03 EST


On Tue, 21 Jan 2020 at 16:33, Qian Cai <cai@xxxxxx> wrote:
>
>
>
> > On Jan 21, 2020, at 10:28 AM, Borislav Petkov <bp@xxxxxxxxx> wrote:
> >
> > On Tue, Jan 21, 2020 at 04:19:22PM +0100, Marco Elver wrote:
> >> Could you remove the verbatim copy of my email? Maybe something like:
> >>
> >> "Increments to cpa_4k_install may happen concurrently, as detected by KCSAN:
> >>
> >> <....... the stack traces ......>
> >
> > ... and drop the stack traces and fix your subject to say what you're
> > actually "fixing".
>
> Does this title work for you?
>
> x86/mm/pat: silence an data race for KCSAN

Isn't the intent "x86/mm/pat: Mark intentional data race" ? The fact
that KCSAN no longer shows the warning is a side-effect. At least
that's how I see it.

Thanks,
-- Marco