Re: [PATCH] dm: use cpu_relax when busy waiting for condition

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

 



On Thu, Sep 09, 2010 at 06:07:16PM -0400, Mike Snitzer wrote:
> Switch busy loops from using msleep(1) to cpu_relax().

I'd rather we didn't have any of these, but I think these should stay
as msleep.  (Would cpu_relax() even work in every case?)

Alasdair

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel


[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux