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

2015-06-11 Thread Catalin Marinas
On Thu, Jun 11, 2015 at 12:04:32PM +0800, Chunyan Zhang wrote: > From: Janet Liu > > 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, be

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

2015-06-10 Thread Chunyan Zhang
From: Janet Liu 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