Re: [PATCH 2/7 linux-next] mISDN: 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:52 +0100

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

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/