[PATCH] arm64: kernel thread don't need to save fpsimd context.
catalin.marinas at arm.com
Thu Jun 11 07:40:43 PDT 2015
On Thu, Jun 11, 2015 at 12:04:32PM +0800, Chunyan Zhang wrote:
> From: Janet Liu <janet.liu at spreadtrum.com>
> 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 at spreadtrum.com>
> Signed-off-by: Chunyan Zhang <chunyan.zhang at spreadtrum.com>
More information about the linux-arm-kernel