Re: [PATCH 08/26] exit: Make the runqueue rcu safe

From: Oleg Nesterov
Date: Wed Jun 07 2017 - 09:17:03 EST


On 06/06, Eric W. Biederman wrote:
>
> Add a rcu_usage to task_struct and use it to reuse the delayed rcu put
> logic from release_task in finish_task_switch.

I didn't really read this patch yet, but it first glance it should work and
you can also remove the ->exit_state check/limitation in rcuwait_wait_event().

Oleg.