From owner-svn-src-user@FreeBSD.ORG Sat Feb 21 23:04:19 2015 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D1C7569D; Sat, 21 Feb 2015 23:04:19 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BCFB0400; Sat, 21 Feb 2015 23:04:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1LN4Joi030196; Sat, 21 Feb 2015 23:04:19 GMT (envelope-from nwhitehorn@FreeBSD.org) Received: (from nwhitehorn@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1LN4JGh030192; Sat, 21 Feb 2015 23:04:19 GMT (envelope-from nwhitehorn@FreeBSD.org) Message-Id: <201502212304.t1LN4JGh030192@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: nwhitehorn set sender to nwhitehorn@FreeBSD.org using -f From: Nathan Whitehorn Date: Sat, 21 Feb 2015 23:04:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r279118 - user/nwhitehorn/ppc64-pmap-rework/aim X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2015 23:04:19 -0000 Author: nwhitehorn Date: Sat Feb 21 23:04:18 2015 New Revision: 279118 URL: https://svnweb.freebsd.org/changeset/base/279118 Log: Keep overflow statistics updated. Modified: user/nwhitehorn/ppc64-pmap-rework/aim/mmu_oea64.c user/nwhitehorn/ppc64-pmap-rework/aim/moea64_native.c Modified: user/nwhitehorn/ppc64-pmap-rework/aim/mmu_oea64.c ============================================================================== --- user/nwhitehorn/ppc64-pmap-rework/aim/mmu_oea64.c Sat Feb 21 22:38:32 2015 (r279117) +++ user/nwhitehorn/ppc64-pmap-rework/aim/mmu_oea64.c Sat Feb 21 23:04:18 2015 (r279118) @@ -1256,8 +1256,10 @@ moea64_enter(mmu_t mmu, pmap_t pmap, vm_ error = 0; /* If not in page table, reinsert it */ - if (MOEA64_PTE_SYNCH(mmu, oldpvo) < 0) + if (MOEA64_PTE_SYNCH(mmu, oldpvo) < 0) { + moea64_pte_overflow--; MOEA64_PTE_INSERT(mmu, oldpvo); + } /* Then just clean up and go home */ PV_PAGE_UNLOCK(m); Modified: user/nwhitehorn/ppc64-pmap-rework/aim/moea64_native.c ============================================================================== --- user/nwhitehorn/ppc64-pmap-rework/aim/moea64_native.c Sat Feb 21 22:38:32 2015 (r279117) +++ user/nwhitehorn/ppc64-pmap-rework/aim/moea64_native.c Sat Feb 21 23:04:18 2015 (r279118) @@ -302,6 +302,7 @@ moea64_pte_unset_native(mmu_t mmu, struc if ((pt->pte_hi & LPTE_AVPN_MASK) != (properpt.pte_hi & LPTE_AVPN_MASK)) { /* Evicted */ + moea64_pte_overflow--; rw_runlock(&moea64_eviction_lock); return (-1); }