From: Kurt Hackel Date: Mon, 1 May 2006 21:27:41 +0000 (-0700) Subject: ocfs2: use cond_resched() in dlm_thread() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f85cd47a5825b77a146bad6870b2ddcf08415c13;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ocfs2: use cond_resched() in dlm_thread() yield() does not yield. cond_resched() does. Signed-off-by: Kurt Hackel Signed-off-by: Mark Fasheh --- diff --git a/fs/ocfs2/dlm/dlmthread.c b/fs/ocfs2/dlm/dlmthread.c index c1c10fd1a5a7..0c822f3ffb05 100644 --- 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) { - yield(); + cond_resched(); continue; }