]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm-add-comment-explaining-task-state-setting-in-bdi_forker_thread-fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 28 Sep 2011 00:50:23 +0000 (10:50 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 29 Sep 2011 06:08:11 +0000 (16:08 +1000)
fiddle wording

Cc: Jan Kara <jack@suse.cz>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <>
mm/backing-dev.c

index a87da524a4a01ad288e10e9648593d8934adb4fc..7520ef0bfd47932653948f0f3b047abd021d2ef1 100644 (file)
@@ -404,9 +404,8 @@ static int bdi_forker_thread(void *ptr)
                /*
                 * In the following loop we are going to check whether we have
                 * some work to do without any synchronization with tasks
-                * waking us up to do work for them. So we have to set task
-                * state already here so that we don't miss wakeups coming
-                * after we verify some condition.
+                * waking us up to do work for them. Set the task state here
+                * so that we don't miss wakeups after verifying conditions.
                 */
                set_current_state(TASK_INTERRUPTIBLE);