Skip to content
Snippets Groups Projects
Commit 2f064a59 authored by Peter Zijlstra's avatar Peter Zijlstra
Browse files

sched: Change task_struct::state


Change the type and name of task_struct::state. Drop the volatile and
shrink it to an 'unsigned int'. Rename it in order to find all uses
such that we can use READ_ONCE/WRITE_ONCE as appropriate.

Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: default avatarDaniel Bristot de Oliveira <bristot@redhat.com>
Acked-by: default avatarWill Deacon <will@kernel.org>
Acked-by: default avatarDaniel Thompson <daniel.thompson@linaro.org>
Link: https://lore.kernel.org/r/20210611082838.550736351@infradead.org
parent 7c3edd6d
No related branches found
No related tags found
No related merge requests found
Showing with 66 additions and 60 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment