Re: [PATCH] mm: fix a data race in put_page()

From: Qian Cai
Date: Thu Feb 06 2020 - 18:56:02 EST




> On Feb 6, 2020, at 6:34 PM, John Hubbard <jhubbard@xxxxxxxxxx> wrote:
>
> * data_race(): there is no race on the N bits worth of page zone number data. There
> is only a perceived race, due to tools that look at word-level granularity.

Iâd like to think this from the compiler level. There is a data race from the compiler load and store point of view. It is just in the case it is harmless to affect the actual code logic.