Re: [PATCH] arm64: kernel thread don't need to save fpsimd context.

From: Catalin Marinas
Date: Thu Jun 11 2015 - 10:41:00 EST


On Thu, Jun 11, 2015 at 12:04:32PM +0800, Chunyan Zhang wrote:
> From: Janet Liu <janet.liu@xxxxxxxxxxxxxx>
>
> kernel thread's default fpsimd state is zero. When fork a thread, if parent is kernel thread,
> and save hardware context to parent's fpsimd state, but this hardware context is user
> process's context, because kernel thread don't use fpsimd, it will not introduce issue,
> it add a little cost.
>
> Signed-off-by: Janet Liu <janet.liu@xxxxxxxxxxxxxx>
> Signed-off-by: Chunyan Zhang <chunyan.zhang@xxxxxxxxxxxxxx>

Applied. Thanks.

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