Re: [PATCH] kthread: Don't looking for a task in create_kthread()

From: Oleg Nesterov
Date: Mon Jan 19 2009 - 14:06:21 EST


On 01/19, Vitaliy Gusev wrote:
>
> Let a process fill result, as 'current' is the same
> in all pid namespaces.

This looks like a very nice patch to me.

But I don't understand the changelog. Afaics, this has nothing to do
with namespaces. We can remove the unnecessary find_task_by_pid_ns()
kthread() can just use "current" to get the same result.

Could you please improve the changelog and re-send?

Oleg.

--
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/