Re: [PATCH v7] x86/sgx: Report RCU-Tasks quiescent state in EPC sanitization loop
From: Dave Hansen
Date: Mon Oct 19 2026 - 14:11:09 EST
On 9/1/26 18:36, Jun Miao wrote:
> - cond_resched();
> + /*
> + * cond_resched() only schedules when TIF_NEED_RESCHED is set.
> + * During this boot-time loop that condition may not happen for a
> + * long time, so report an RCU-Tasks quiescent state explicitly.
> + * Therefore, change cond_resched() to cond_resched_tasks_rcu_qs().
> + */
> + cond_resched_tasks_rcu_qs();
> }
I dropped this from x86/sgx for the moment. That comment reads like a
changelog and needs at least a minimal fixup. I'll look at it after I
get the rest of the merge window work done.