summaryrefslogtreecommitdiffstats
path: root/kernel/tsacct.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2008-12-10 16:31:02 +0100
committerDavid Teigland <teigland@redhat.com>2008-12-23 17:16:13 +0100
commitd61e9aac96317a43c192f1faabfa95d4d675b7ce (patch)
treed6e256d8394c4458012c1673ff4d5741d893b87a /kernel/tsacct.c
parentdlm: remove kmap/kunmap (diff)
downloadlinux-d61e9aac96317a43c192f1faabfa95d4d675b7ce.tar.xz
linux-d61e9aac96317a43c192f1faabfa95d4d675b7ce.zip
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 <swhiteho@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'kernel/tsacct.c')
0 files changed, 0 insertions, 0 deletions