On Wed,  9 Oct 2019 12:55:53 -0700, Eric Dumazet wrote:
> As mentioned in 
> https://github.com/google/ktsan/wiki/READ_ONCE-and-WRITE_ONCE#it-may-improve-performance
> a C compiler can legally transform :
> 
> if (memory_pressure && *memory_pressure)
>         *memory_pressure = 0;
> 
> to :
> 
> if (memory_pressure)
>         *memory_pressure = 0;
> 
> Fixes: 0604475119de ("tcp: add TCPMemoryPressuresChrono counter")
> Fixes: 180d8cd942ce ("foundations of per-cgroup memory pressure controlling.")
> Fixes: 3ab224be6d69 ("[NET] CORE: Introducing new memory accounting 
> interface.")
> Signed-off-by: Eric Dumazet <eduma...@google.com>

Applied, thanks!

Reply via email to