Messages in this thread | | | Date | Sun, 22 Feb 2015 15:25:00 -0500 (EST) | Subject | Re: [PATCH 5/7 linux-next] hso: replace current->state by __set_current_state() | From | David Miller <> |
| |
From: Fabian Frederick <fabf@skynet.be> 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@infradead.org> > Signed-off-by: Fabian Frederick <fabf@skynet.be>
Applied.
| |