diff options
author | alfred <alfred@FreeBSD.org> | 2000-11-27 00:09:16 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2000-11-27 00:09:16 +0000 |
commit | 614730a418012f55d510bf89ab1df3fab14b7747 (patch) | |
tree | 57a101f268b3e4a50a17e3a2dcbe046f30900c6c /sys/boot/alpha | |
parent | a7e1babad983a776bddcb27872f4d6fec405f1b7 (diff) | |
download | FreeBSD-src-614730a418012f55d510bf89ab1df3fab14b7747.zip FreeBSD-src-614730a418012f55d510bf89ab1df3fab14b7747.tar.gz |
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
Diffstat (limited to 'sys/boot/alpha')
0 files changed, 0 insertions, 0 deletions