Re: [PATCH 5/7 linux-next] hso: replace current->state by __set_current_state()

From: David Miller
Date: Sun Feb 22 2015 - 15:25:18 EST

From: Fabian Frederick <fabf@xxxxxxxxx>
Date: Fri, 20 Feb 2015 19:12:55 +0100

> Use helper functions to access current->state.
> Direct assignments are prone to races and therefore buggy.
> Thanks to Peter Zijlstra for the exact definition of the problem.
> Suggested-By: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at