Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   rmind
Date:           Mon Mar 17 21:16:03 UTC 2008

Modified Files:
        src/sys/kern: kern_resource.c subr_hash.c vfs_lockf.c
        src/sys/sys: resourcevar.h systm.h

Log Message:
- Replace uihashtbl_lock and struct uidinfo::ui_lock with atomic operations.
  This make uid_find(), chgproccnt(), chgsbsize() and lf_alloc(), lf_free()
  functions lock-less.
- Increase the size of uihashtbl in case of MP system, as suggested by <ad>.
- Add HASH_SLIST type for hashinit().

Reviewed by <ad>.


To generate a diff of this commit:
cvs rdiff -r1.134 -r1.135 src/sys/kern/kern_resource.c
cvs rdiff -r1.1 -r1.2 src/sys/kern/subr_hash.c
cvs rdiff -r1.61 -r1.62 src/sys/kern/vfs_lockf.c
cvs rdiff -r1.42 -r1.43 src/sys/sys/resourcevar.h
cvs rdiff -r1.215 -r1.216 src/sys/sys/systm.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index