From owner-svn-src-user@FreeBSD.ORG Wed Apr 14 07:29:25 2010 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBEB41065672; Wed, 14 Apr 2010 07:29:25 +0000 (UTC) (envelope-from jmallett@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id AA13E8FC1C; Wed, 14 Apr 2010 07:29:25 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o3E7TPML003863; Wed, 14 Apr 2010 07:29:25 GMT (envelope-from jmallett@svn.freebsd.org) Received: (from jmallett@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o3E7TPCv003861; Wed, 14 Apr 2010 07:29:25 GMT (envelope-from jmallett@svn.freebsd.org) Message-Id: <201004140729.o3E7TPCv003861@svn.freebsd.org> From: Juli Mallett Date: Wed, 14 Apr 2010 07:29:25 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r206596 - user/jmallett/octeon/sys/mips/mips X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 14 Apr 2010 07:29:25 -0000 Author: jmallett Date: Wed Apr 14 07:29:25 2010 New Revision: 206596 URL: http://svn.freebsd.org/changeset/base/206596 Log: o) Remove some gratuitous cpu_barrier calls. o) Remove an XXX about invalidating half of the TLB entry only -- this turns out to not be a win. Modified: user/jmallett/octeon/sys/mips/mips/tlb.c Modified: user/jmallett/octeon/sys/mips/mips/tlb.c ============================================================================== --- user/jmallett/octeon/sys/mips/mips/tlb.c Wed Apr 14 07:07:43 2010 (r206595) +++ user/jmallett/octeon/sys/mips/mips/tlb.c Wed Apr 14 07:29:25 2010 (r206596) @@ -51,7 +51,6 @@ tlb_probe(void) { __asm __volatile ("tlbp" : : : "memory"); mips_cp0_sync(); - mips_barrier(); } static inline void @@ -59,7 +58,6 @@ tlb_read(void) { __asm __volatile ("tlbr" : : : "memory"); mips_cp0_sync(); - mips_barrier(); } static inline void @@ -67,7 +65,6 @@ tlb_write_indexed(void) { __asm __volatile ("tlbwi" : : : "memory"); mips_cp0_sync(); - mips_barrier(); } static inline void @@ -75,17 +72,10 @@ tlb_write_random(void) { __asm __volatile ("tlbwr" : : : "memory"); mips_cp0_sync(); - mips_barrier(); } static void tlb_invalidate_one(unsigned); -/* - * XXX - * We invalidate the whole pair. Would be nice to just - * invalidate the single entry instead of forcing a reload - * of the other one. - */ void tlb_invalidate_address(struct pmap *pmap, vm_offset_t va) {