Re: [PATCH 40/45] x86: use _do_fork() in compat_sys_x86_clone()

From: Thomas Gleixner
Date: Thu Mar 22 2018 - 05:26:44 EST


On Thu, 22 Mar 2018, Dominik Brodowski wrote:

> It is trivial to directly call _do_fork() instead of the sys_clone()
> syscall in compat_sys_x86_clone().
>
> This patch is part of a series which tries to remove in-kernel calls to
> syscalls. On this basis, the syscall entry path can be streamlined.
>
> Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> Cc: Jiri Slaby <jslaby@xxxxxxxx>
> Cc: x86@xxxxxxxxxx
> Signed-off-by: Dominik Brodowski <linux@xxxxxxxxxxxxxxxxxxxx>

Reviewed-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>