projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad8100e
)
ocfs2: use cond_resched() in dlm_thread()
author
Kurt Hackel
<kurt.hackel@oracle.com>
Mon, 1 May 2006 21:27:41 +0000
(14:27 -0700)
committer
Mark Fasheh
<mark.fasheh@oracle.com>
Mon, 26 Jun 2006 21:43:13 +0000
(14:43 -0700)
yield() does not yield. cond_resched() does.
Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/dlm/dlmthread.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ocfs2/dlm/dlmthread.c
b/fs/ocfs2/dlm/dlmthread.c
index c1c10fd1a5a7c3aeb84bcc298087c9db4adfbcab..0c822f3ffb05adeeb7a7709d150d34458519e591 100644
(file)
--- a/
fs/ocfs2/dlm/dlmthread.c
+++ b/
fs/ocfs2/dlm/dlmthread.c
@@
-731,7
+731,7
@@
in_progress:
/* yield and continue right away if there is more work to do */
if (!n) {
-
yiel
d();
+
cond_resche
d();
continue;
}