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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux