1 From: Steven Whitehouse <swhiteho@redhat.com>
2 commit d61e9aac96317a43c192f1faabfa95d4d675b7ce
3 Author: Steven Whitehouse <swhiteho@redhat.com>
4 Date: Wed Dec 10 09:31:02 2008 -0600
5 Subject: dlm: replace schedule with cond_resched
7 This is a one-liner to use cond_resched() rather than schedule()
8 in the ast delivery loop. It should not be necessary to schedule
9 every time, so this will save some cpu time while continuing to
10 allow scheduling when required.
12 Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
13 Signed-off-by: David Teigland <teigland@redhat.com>
14 Signed-off-by: Coly Li <coly.li@suse.de>
18 1 file changed, 1 insertion(+), 1 deletion(-)
22 @@ -98,7 +98,7 @@ static void process_asts(void)
23 and may result in the lkb being freed */