Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Dec 1995 17:21:40 -0800 (PST)
From:      Bruce Evans <bde>
To:        CVS-committers, cvs-sys
Subject:   cvs commit: src/sys/kern subr_prof.c
Message-ID:  <199512260121.RAA10440@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         95/12/25 17:21:40

  Modified:    sys/kern  subr_prof.c
  Log:
  Unstaticized addupc_task().  It is supposed to be called from trap().
  See the comments for addupc_intr() and the NetBSD implementation.
  We use dummy versions of fuswintr() and susiwintr(), so addupc_intr()
  always pushes the work to trap() (this is inefficient), and trap()
  calls the special i386 function addupc() instead of addupc_task().
  addupc() is more efficient than addupc_intr(), so some of the lost
  efficiency is recovered.  However, addupc() may be broken on plain
  i386's since it doesn't check for write permission like copyout().
  
  Revision  Changes    Path
  1.15      +2 -2      src/sys/kern/subr_prof.c



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