Re: [PATCH v2 1/4] fork: move the real prepare_to_copy() users toarch_dup_task_struct()

From: Benjamin Herrenschmidt
Date: Thu May 10 2012 - 20:18:14 EST


On Thu, 2012-05-10 at 16:33 -0700, Suresh Siddha wrote:
> Historical prepare_to_copy() is mostly a no-op, duplicated for majority of
> the architectures and the rest following the x86 model of flushing the extended
> register state like fpu there.
>
> Remove it and use the arch_dup_task_struct() instead.
>
> Suggested-by: Oleg Nesterov <oleg@xxxxxxxxxx>
> Suggested-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Suresh Siddha <suresh.b.siddha@xxxxxxxxx>
> Cc: David Howells <dhowells@xxxxxxxxxx>
> Cc: Koichi Yasutake <yasutake.koichi@xxxxxxxxxxxxxxxx>

For the powerpc part:

Acked-by: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>

Cheers,
Ben.



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