Re: [PATCH] elf_fdpic_core_dump: don't take tasklist_lock

From: David Howells
Date: Mon Aug 14 2006 - 07:27:58 EST


Oleg Nesterov <oleg@xxxxxxxxxx> wrote:

> do_each_thread() is rcu-safe, and all tasks which use this ->mm must
> sleep in wait_for_completion(&mm->core_done) at this point, so we can
> use RCU locks.

Looks reasonable.

Acked-By: David Howells <dhowells@xxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/