Re: 回复: [PATCH] x86/intel_rdt: use __this_cpu_read in pseudo_lock_fn()

From: Reinette Chatre
Date: Fri Jul 30 2021 - 10:47:37 EST


Hi,

On 7/30/2021 1:22 AM, 苏辉(Robert Su) wrote:
Hi, Reinette:

There is no issue here, i just think it's better to use __this_cpu_read when
interrupt disabled.

ok, could you please elaborate why it is better? I do not see a problem with the change - I would just like to understand the motivation for it.

Thank you

Reinette