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

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



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


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