Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Nov 2000 16:09:16 -0800 (PST)
From:      Alfred Perlstein <alfred@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys ucred.h src/sys/kern kern_prot.c
Message-ID:  <200011270009.QAA94659@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
alfred      2000/11/26 16:09:16 PST

  Modified files:
    sys/sys              ucred.h 
    sys/kern             kern_prot.c 
  Log:
  ucred system overhaul:
  1) mpsafe (protect the refcount with a mutex).
  2) reduce duplicated code by removing the inlined crdup() from crcopy()
     and make crcopy() call crdup().
  3) use M_ZERO flag when allocating initial structs instead of calling bzero
     after allocation.
  4) expand the size of the refcount from a u_short to an u_int, by using
     shorts we might have an overflow.
  
  Glanced at by: jake
  
  Revision  Changes    Path
  1.18      +11 -3     src/sys/sys/ucred.h
  1.68      +16 -9     src/sys/kern/kern_prot.c



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?200011270009.QAA94659>