]> git.karo-electronics.de Git - linux-beck.git/commit
arm64: kernel thread don't need to save fpsimd context.
authorJanet Liu <janet.liu@spreadtrum.com>
Thu, 11 Jun 2015 04:04:32 +0000 (12:04 +0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 11 Jun 2015 14:35:23 +0000 (15:35 +0100)
commit6eb6c80187c55b7f95683bc6502dccac54b95b92
treec6346a9942633d97031f6edfc0a04bb315a8e95b
parent04d7e098f541769721d7511d56aea4b976fd29fd
arm64: kernel thread don't need to save fpsimd context.

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@spreadtrum.com>
Signed-off-by: Chunyan Zhang <chunyan.zhang@spreadtrum.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/process.c