diff options
author | Steven Whitehouse <[email protected]> | 2008-12-10 09:31:02 -0600 |
---|---|---|
committer | David Teigland <[email protected]> | 2008-12-23 10:16:13 -0600 |
commit | d61e9aac96317a43c192f1faabfa95d4d675b7ce (patch) | |
tree | d6e256d8394c4458012c1673ff4d5741d893b87a /lib/string_helpers.c | |
parent | 1521848cbb42935a52d11305c054b14461ad061c (diff) |
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 <[email protected]>
Signed-off-by: David Teigland <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions