]> 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, 5 Oct 2011 00:43:10 +0000 (11:43 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 11 Oct 2011 08:43:52 +0000 (19:43 +1100)
fiddle wording

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

index dd8916feb05e25bbbee7b81bd2c630f91d614dc2..a0860640378d87b40827bdb4a89ec271c5c8f35c 100644 (file)
@@ -406,9 +406,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);