Whamcloud - gitweb
b=19557 Add cond_resched calls to avoid hogging the cpu
[fs/lustre-release.git] / lnet / klnds / openiblnd / openiblnd_cb.c
index bb7f67b..20ce962 100644 (file)
@@ -2609,7 +2609,7 @@ kibnal_scheduler(void *arg)
                                         !list_empty(&kibnal_data.kib_sched_rxq) || 
                                         kibnal_data.kib_shutdown);
                         } else {
-                                our_cond_resched();
+                                cfs_cond_resched();
                         }
 
                         spin_lock_irqsave(&kibnal_data.kib_sched_lock,