Re: [PATCH RT] sched: drop is_special_task_state() check from __set_current_state_no_track()

From: Sebastian Andrzej Siewior
Date: Wed Aug 01 2018 - 11:53:12 EST


On 2018-08-01 09:19:42 [-0400], Steven Rostedt wrote:
> I don't think we need to keep the do { } while with a single line. It
> is now equivalent to the non-debug version of __set_current_state()
> which is defined as:
>
> #define __set_current_state(state_value) \
> current->state = (state_value)

okay.

> -- Steve

Sebastian