Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Mar 2008 21:29:02 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys resourcevar.h src/sys/kern kern_resource.c
Message-ID:  <200803162129.m2GLT2FH064162@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
pjd         2008-03-16 21:29:02 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              resourcevar.h 
    sys/kern             kern_resource.c 
  Log:
  - Use wait-free method to manage ui_sbsize and ui_proccnt fields in the
    uidinfo structure. This entirely removes contention observed on the
    ui_mtxp mutex (as it is now gone).
  - Convert the uihashtbl_mtx mutex to a rwlock, as most of the time we just
    need to read-lock it.
  
  Reviewed by:    jhb, jeff, kris & others
  Tested by:      kris
  
  Revision  Changes    Path
  1.186     +50 -60    src/sys/kern/kern_resource.c
  1.53      +3 -7      src/sys/sys/resourcevar.h



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