Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751829AbdFEKW3 (ORCPT ); Mon, 5 Jun 2017 06:22:29 -0400 Received: from ozlabs.org ([103.22.144.67]:37465 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751404AbdFEKVu (ORCPT ); Mon, 5 Jun 2017 06:21:50 -0400 X-powerpc-patch-notification: thanks X-powerpc-patch-commit: e8de85ca32f572f5dee00733022d8a1ce87aed3d In-Reply-To: <22c2ebcfe72f4f17be6d284d922895cec34e23fc.1492606297.git.christophe.leroy@c-s.fr> To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras , Scott Wood From: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [1/5] powerpc/mm: only call store_updates_sp() on stores in do_page_fault() Message-Id: <3wh9ph70pfz9s8Y@ozlabs.org> Date: Mon, 5 Jun 2017 20:21:48 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 776 Lines: 22 On Wed, 2017-04-19 at 12:56:24 UTC, Christophe Leroy wrote: > Function store_updates_sp() checks whether the faulting > instruction is a store updating r1. Therefore we can limit its calls > to stores exceptions. > > This patch is an improvement of commit a7a9dcd882a67 ("powerpc: Avoid > taking a data miss on every userspace instruction miss") > > With the same microbenchmark app, run with 500 as argument, on an > MPC885 we get: > > Before this patch: 152000 DTLB misses > After this patch: 147000 DTLB misses > > Signed-off-by: Christophe Leroy > Reviewed-by: Aneesh Kumar K.V Patches 1, 3, 4 and 5 applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/e8de85ca32f572f5dee00733022d8a cheers