From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH] KVM: PPC: elide struct thread_struct instances from stack Date: Wed, 2 Jun 2010 13:00:30 -0300 Message-ID: <20100602160030.GB23214@amt.cnet> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: linuxppc-dev@ozlabs.org, kvm@vger.kernel.org, kvm-ppc@vger.kernel.org, Alexander Graf To: Andreas Schwab Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linuxppc-dev-bounces+glppe-linuxppc-embedded-2=m.gmane.org@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+glppe-linuxppc-embedded-2=m.gmane.org@lists.ozlabs.org List-Id: kvm.vger.kernel.org On Mon, May 31, 2010 at 09:59:13PM +0200, Andreas Schwab wrote: > Instead of instantiating a whole thread_struct on the stack use only the > required parts of it. > > Signed-off-by: Andreas Schwab > Tested-by: Alexander Graf > --- > arch/powerpc/include/asm/kvm_fpu.h | 27 +++++---- > arch/powerpc/kernel/ppc_ksyms.c | 4 - > arch/powerpc/kvm/book3s.c | 49 +++++++++------- > arch/powerpc/kvm/book3s_paired_singles.c | 94 ++++++++++++------------------ > arch/powerpc/kvm/fpu.S | 18 ++++++ > 5 files changed, 97 insertions(+), 95 deletions(-) Applied, thanks.