Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jul 2010 01:47:47 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/mips/mips db_trace.c swtch.S vm_machdep.c
Message-ID:  <201007150148.o6F1m47v047700@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
imp         2010-07-15 01:47:47 UTC

  FreeBSD src repository

  Modified files:
    sys/mips/mips        db_trace.c swtch.S vm_machdep.c 
  Log:
  SVN rev 210096 on 2010-07-15 01:47:47Z by imp
  
  Remove one layer of indirection.  No need to call cpu_throw which then
  calls mips_cpu_call via an obfuscated assembler call.  Instead, delete
  the current cpu_throw, and rename mips_cpu_throw to cpu_throw.  This
  is nicer to the cache on each context switch (since fixed jumps can be
  prefected, while jumps through a register can't).  Incidentally, it
  also saves about 5 or 6 instructions.
  
  Reviewed by:    jmallet@
  
  Revision  Changes    Path
  1.10      +2 -2      src/sys/mips/mips/db_trace.c
  1.12      +2 -2      src/sys/mips/mips/swtch.S
  1.16      +0 -8      src/sys/mips/mips/vm_machdep.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007150148.o6F1m47v047700>