Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754795AbbFKOk5 (ORCPT ); Thu, 11 Jun 2015 10:40:57 -0400 Received: from foss.arm.com ([217.140.101.70]:56461 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752019AbbFKOkr (ORCPT ); Thu, 11 Jun 2015 10:40:47 -0400 Date: Thu, 11 Jun 2015 15:40:43 +0100 From: Catalin Marinas To: Chunyan Zhang Cc: will.deacon@arm.com, janet.liu@spreadtrum.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, xiongshan.an@spreadtrum.com Subject: Re: [PATCH] arm64: kernel thread don't need to save fpsimd context. Message-ID: <20150611144042.GB29305@e104818-lin.cambridge.arm.com> References: <1433995472-6170-1-git-send-email-chunyan.zhang@spreadtrum.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1433995472-6170-1-git-send-email-chunyan.zhang@spreadtrum.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 805 Lines: 20 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, because kernel thread don't use fpsimd, it will not introduce issue, > it add a little cost. > > Signed-off-by: Janet Liu > Signed-off-by: Chunyan Zhang Applied. Thanks. -- Catalin -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/