From: Steven Whitehouse Date: Wed, 10 Dec 2008 15:31:02 +0000 (-0600) Subject: dlm: replace schedule with cond_resched X-Git-Tag: v2.6.29-rc1~496^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d61e9aac96317a43c192f1faabfa95d4d675b7ce;p=pandora-kernel.git dlm: replace schedule with cond_resched This is a one-liner to use cond_resched() rather than schedule() in the ast delivery loop. It should not be necessary to schedule every time, so this will save some cpu time while continuing to allow scheduling when required. Signed-off-by: Steven Whitehouse Signed-off-by: David Teigland --- Reading git-diff-tree failed