Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
b=19557 Add cond_resched calls to avoid hogging the cpu
[fs/lustre-release.git]
/
lnet
/
klnds
/
iiblnd
/
iiblnd_cb.c
diff --git
a/lnet/klnds/iiblnd/iiblnd_cb.c
b/lnet/klnds/iiblnd/iiblnd_cb.c
index
fb6ce60
..
9e7b62c
100644
(file)
--- a/
lnet/klnds/iiblnd/iiblnd_cb.c
+++ b/
lnet/klnds/iiblnd/iiblnd_cb.c
@@
-3310,7
+3310,7
@@
kibnal_scheduler(void *arg)
spin_unlock_irqrestore(&kibnal_data.kib_sched_lock,
flags);
-
our
_cond_resched();
+
cfs
_cond_resched();
busy_loops = 0;
spin_lock_irqsave(&kibnal_data.kib_sched_lock, flags);