Re: [PATCH] check_for_tasks: read_lock(tasklist_lock) doesn't need to disable irqs

Srikar Dronamraju
2015-09-11T10:25:44Z

* Oleg Nesterov <oleg@redhat.com> [2015-09-10 15:07:50]:

> check_for_tasks() doesn't need to disable irqs, recursive read_lock()
> from interrupt is fine.
>
> While at it, s/do_each_thread/for_each_process_thread/.
>
> Signed-off-by: Oleg Nesterov <oleg@redhat.com>

Looks good to me.

Reviewed-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>

> ---
> kernel/cpu.c | 8 ++++----
> 1 files changed, 4 insertions(+), 4 deletions(-)
>

--
Thanks and Regards
Srikar Dronamraju