From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alasdair G Kergon Subject: Re: [PATCH] dm: use cpu_relax when busy waiting for condition Date: Mon, 27 Jun 2011 11:22:07 +0100 Message-ID: <20110627102207.GO7497@agk-dp.fab.redhat.com> References: <20100909220716.GA27774@redhat.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20100909220716.GA27774@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Mike Snitzer Cc: dm-devel@redhat.com List-Id: dm-devel.ids 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