Re: [PATCH v5 14/24] x86/resctrl: Allow resctrl_arch_rmid_read() to sleep
From: Reinette Chatre
Date: Fri Sep 08 2023 - 16:15:59 EST
Hi James,
On 9/8/2023 8:58 AM, James Morse wrote:
>
> That comment now reads:
> * resctrl_arch_rmid_read_context_check() - warn about invalid contexts
> *
> * When built with CONFIG_DEBUG_ATOMIC_SLEEP generate a warning when
> * resctrl_arch_rmid_read() is called with preemption disabled.
> *
> * The contract with resctrl_arch_rmid_read() is that if interrupts
> * are unmasked, it can sleep. This allows NOHZ_FULL systems to use an
> * IPI, (and fail if the call needed to sleep), while most of the time
> * the work is scheduled, allowing the call to sleep.
>
Thank you very much.
Reinette