From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Caulfield Date: Wed, 26 Sep 2007 08:18:55 +0100 Subject: [Cluster-devel] [PATCH] dlm: schedule during recovery loops In-Reply-To: <20070925162311.GE15893@redhat.com> References: <20070925162311.GE15893@redhat.com> Message-ID: <46FA07DF.6040902@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit David Teigland wrote: > Call schedule() in a bunch of places where the recovery code loops > through lists of locks. The theory is that these lists become so > long that looping through them triggers the softlockup watchdog. > (usually on ia64, doesn't seem to happen often on other arch's). > > Signed-off-by: David Teigland I think we're encouraged to use cond_resched() instead these days. It has the same effect but doesn't force a schedule if there is nothing else to run. -- Patrick