Loading mm/backing-dev.c +2 −3 Original line number Diff line number Diff line Loading @@ -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); Loading Loading
mm/backing-dev.c +2 −3 Original line number Diff line number Diff line Loading @@ -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); Loading