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

Alasdair G Kergon agk at redhat.com
Mon Jun 27 10:22:07 UTC 2011

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?)


More information about the dm-devel mailing list