Re: [PATCH v6 19/21] x86/virt/tdx: Initialize all TDMRs

From: Andi Kleen
Date: Thu Oct 27 2022 - 08:31:06 EST



+ next = out.rdx;
+ /* Allow scheduling when needed */
+ if (need_resched())
+ cond_resched();

cond_resched already includes the need_resched check. That is why it is called cond_