From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.web.de (mout.web.de [212.227.17.12]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3sMhB05SMQzDrfT for ; Mon, 29 Aug 2016 03:10:32 +1000 (AEST) Subject: [PATCH 0/6] KVM: PPC: e500: Fine-tuning for two function implementations References: <566ABCD9.1060404@users.sourceforge.net> Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall To: kvm@vger.kernel.org, kvm-ppc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Alexander Graf , Benjamin Herrenschmidt , Michael Ellerman , Paolo Bonzini , Paul Mackerras , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= From: SF Markus Elfring Message-ID: Date: Sun, 28 Aug 2016 19:09:57 +0200 MIME-Version: 1.0 In-Reply-To: <566ABCD9.1060404@users.sourceforge.net> Content-Type: text/plain; charset=windows-1252 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Markus Elfring Date: Sun, 28 Aug 2016 19:01:02 +0200 Several update suggestions were taken into account from static source code analysis. Markus Elfring (6): Use kmalloc_array() in kvm_vcpu_ioctl_config_tlb() Less function calls in kvm_vcpu_ioctl_config_tlb() after error detection Delete an unnecessary initialisation in kvm_vcpu_ioctl_config_tlb() Replace kzalloc() calls by kcalloc() in two functions Use kmalloc_array() in kvmppc_e500_tlb_init() Rename jump labels in kvmppc_e500_tlb_init() arch/powerpc/kvm/e500_mmu.c | 71 +++++++++++++++++++++++---------------------- 1 file changed, 36 insertions(+), 35 deletions(-) -- 2.9.3