FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 06-27-2011, 10:22 AM
Alasdair G Kergon
 
Default 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

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

Thread Tools




All times are GMT. The time now is 09:47 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org