Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1488748ybn; Wed, 25 Sep 2019 19:39:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqzE5gjqvv9+6NSRmKAwl7ZqGSTQ6FiDO0wo1HAUchGniA3R9gTP2tKEBGnZQWetHtJeCsIu X-Received: by 2002:a17:906:b84e:: with SMTP id ga14mr1127710ejb.215.1569465578675; Wed, 25 Sep 2019 19:39:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569465578; cv=none; d=google.com; s=arc-20160816; b=E3WcuJ3Z7VBGXSK745DnPPu9nkViuU75mW9VsrW1W6nN4ja++2D4yoT6qilIgOCmFy jDwYl5aXQjUH4J9Uy6azKloqExSin+VrqH/KLNL9pWO1yVIfd8IsIXirbeQaLFXkPk7s IKn/QhLiigkWNgjwl0xbA1TUGenEu72cT+/HmKI9IrVRqb3TZtHWkeVaSC7vqrWCUSmu v8sNZRDfI11IjUQyPn29YTqW4cnItXDYJcrGtTuIZwADUNFZJa8IfCdofLAPmjXZgTee erXbUH0+77A/bEAI/WmAFt90FC9N7fmPd4qAXmYoQiHJyVDgsHW6XZKA1hY6P4JiRtM/ Moyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:date:to:from:subject:message-id; bh=rAOvw+4gadtR7KEoTZNCxZ6hO95a6dN8+Z7OiTI9ZIU=; b=Fw5uk68+qwcjlU3r3C94DCg6cLQ2i7+clYLEH6Pnv+FSsHrQQK652rbSRDlkn4AIup EOQaVzNw93d4TW5F/MSmFcH53aafXKZfJD3+W3CqBJhwcQNmrn/n2gQdz0yYyKnl6zuc yjmNBjDESxqHonfAcn+7RoCe76AYin+NORD/aJaRtB5dsl7jqDui6QSZVGsUq/UjxfgL 3dJLHwRrH0/XpDaFbnfW2WsBBgXC+h93JNKz1BWdHZ9ML5uU2g50xTbMajYQhKPw3bfL lwwYd13xD9roKB/QQL1XkQN7QLsPmDege0Wh6/2ilqYki4mGcDURttB2tkBlvNOREP1z FHGQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g5si533316edb.324.2019.09.25.19.39.15; Wed, 25 Sep 2019 19:39:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733251AbfIWTNE (ORCPT + 99 others); Mon, 23 Sep 2019 15:13:04 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:19988 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1733241AbfIWTND (ORCPT ); Mon, 23 Sep 2019 15:13:03 -0400 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x8NJCcUa070698; Mon, 23 Sep 2019 15:12:38 -0400 Received: from ppma04dal.us.ibm.com (7a.29.35a9.ip4.static.sl-reverse.com [169.53.41.122]) by mx0b-001b2d01.pphosted.com with ESMTP id 2v72wrj6gv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 23 Sep 2019 15:12:38 -0400 Received: from pps.filterd (ppma04dal.us.ibm.com [127.0.0.1]) by ppma04dal.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id x8NJAU2E010098; Mon, 23 Sep 2019 19:12:32 GMT Received: from b01cxnp23032.gho.pok.ibm.com (b01cxnp23032.gho.pok.ibm.com [9.57.198.27]) by ppma04dal.us.ibm.com with ESMTP id 2v5bg73f36-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 23 Sep 2019 19:12:32 +0000 Received: from b01ledav006.gho.pok.ibm.com (b01ledav006.gho.pok.ibm.com [9.57.199.111]) by b01cxnp23032.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x8NJCV1l55181634 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 23 Sep 2019 19:12:31 GMT Received: from b01ledav006.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6D623AC062; Mon, 23 Sep 2019 19:12:31 +0000 (GMT) Received: from b01ledav006.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D446FAC059; Mon, 23 Sep 2019 19:12:30 +0000 (GMT) Received: from leobras.br.ibm.com (unknown [9.18.235.184]) by b01ledav006.gho.pok.ibm.com (Postfix) with ESMTP; Mon, 23 Sep 2019 19:12:30 +0000 (GMT) Message-ID: <9f635f0348bc29274cfca573f5cd297bcd50a8e0.camel@linux.ibm.com> Subject: Re: [PATCH 1/1] powerpc: kvm: Reduce calls to get current->mm by storing the value locally From: Leonardo Bras To: PaulMackerras , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Date: Mon, 23 Sep 2019 16:12:26 -0300 In-Reply-To: <8da27002e60b1c974836fa418b2b54a6f38fcdde.camel@linux.ibm.com> References: <20190919222748.20761-1-leonardo@linux.ibm.com> <5af478e1da6c0b847fbaf3aff6ccce5720e8a23c.camel@linux.ibm.com> <8da27002e60b1c974836fa418b2b54a6f38fcdde.camel@linux.ibm.com> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-S9Il0xSlMXtX+sMnu/9N" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-09-23_06:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=848 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1909230164 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-S9Il0xSlMXtX+sMnu/9N Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2019-09-23 at 15:35 -0300, Leonardo Bras wrote: > Could you please provide feedback on this patch? I have done a very simple comparison with gcc disassemble: By applying this patch, there was a reduction in the function size from 882 to 878 instructions. --=-S9Il0xSlMXtX+sMnu/9N Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEMdeUgIzgjf6YmUyOlQYWtz9SttQFAl2JGRoACgkQlQYWtz9S ttRLoA//Zh5DTWvpKnXoQsuE35nXRS3iXFegz7gIAWIAXBbESJdsTECkQA+D98wu 81suJuR7/n0t2Mk4NIi0/TGTF4W+4CFZUisCSMjDF2vJxHJFMaPfMBhp6F75Czd8 s6Ee0bsGvqPf25VHo98gy/jZZK2/ngPjvxziLWZL6eYOYG+jt3oQpx2L8PtrAOP5 +eDSaIPCDOxkHDaduxf+Y8y4i1Mp8wI5E4t3zLsf+gZfsa7uL1hyL+kaazSoxGBY K98hDFX9LG4Js2xOA81V3b/FKXQyvnwCmjK9QoyNYKOeE9DrQ4XBcvDyXkkltPJF YR2setLxATXoytOtqU+jYz4qjsaJYXIL25eLZXA7IoXRexbBgZrqMQGMl/YTVwfm S5sgIvxlHatXS88/k7F+KtEheLyHIsH4y0EclI4OJSCFrIFKIGwH8RGBjkuLm1/3 3ftcZBiPG1oxanK7qUY+Dr9qFaIOrqL24Ah+tsB+iRyVzdCm1euRakRp30Kzb+gx BGWMekNJZ/2kakau8xn8alzm8P0k8Q1JzkRO/T0TEqGtlsaGAmUfD+aYFbigMmBt EXtYsrLHcvovBSs/lbavZFhvzCna3t13rIJjm0G9vHdvjWpRd2eTjEz64C4hGFp8 aAFgmu6BPZCCDZNbYs94Pk+/nqzjYpq3JMoITHXswHl/N5u86Iw= =x03n -----END PGP SIGNATURE----- --=-S9Il0xSlMXtX+sMnu/9N--