Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Feb 2002 15:58:23 -0800 (PST)
From:      Julian Elischer <julian@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_fork.c subr_trap.c src/sys/sys proc.h src/sys/alpha/alpha trap.c src/sys/i386/i386 trap.c src/sys/ia64/ia64 trap.c src/sys/powerpc/powerpc trap.c src/sys/sparc64/sparc64 trap.c
Message-ID:  <200202222358.g1MNwNH23641@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
julian      2002/02/22 15:58:23 PST

  Modified files:
    sys/kern             subr_trap.c kern_fork.c 
    sys/sys              proc.h 
    sys/alpha/alpha      trap.c 
    sys/i386/i386        trap.c 
    sys/ia64/ia64        trap.c 
    sys/powerpc/powerpc  trap.c 
    sys/sparc64/sparc64  trap.c 
  Log:
  Add some DIAGNOSTIC code.
  While in userland, keep the thread's ucred reference in a shadow
  field so that the usual place to store it is NULL.
  If DIAGNOSTIC is not set, the thread ucred is kept valid until the next
  kernel entry, at which time it is checked against the process cred
  and possibly corrected. Produces a BIG speedup in
  kernels with INVARIANTS set. (A previous commit corrected it
  for the non INVARIANTS case already)
  
  Reviewed by:    dillon@freebsd.org
  
  Revision  Changes    Path
  1.84      +22 -12    src/sys/alpha/alpha/trap.c
  1.213     +25 -14    src/sys/i386/i386/trap.c
  1.44      +24 -14    src/sys/ia64/ia64/trap.c
  1.134     +9 -6      src/sys/kern/kern_fork.c
  1.209     +30 -6     src/sys/kern/subr_trap.c
  1.8       +13 -7     src/sys/powerpc/powerpc/trap.c
  1.24      +24 -14    src/sys/sparc64/sparc64/trap.c
  1.205     +5 -0      src/sys/sys/proc.h

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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