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

From: Huang, Kai
Date: Thu Oct 27 2022 - 21:08:46 EST


On Thu, 2022-10-27 at 05:30 -0700, Andi Kleen wrote:
> > + 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_
>

Will just use cond_resched(). Thanks!