]> git.michaelhowe.org Git - packages/o/openafs.git/commit
aix5-allocator-cleanup-20050403
authorNiklas Edmundsson <Niklas.Edmundsson@hpc2n.umu.se>
Sun, 3 Apr 2005 19:13:30 +0000 (19:13 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sun, 3 Apr 2005 19:13:30 +0000 (19:13 +0000)
commit412854593cf368006c18e6c0dc607a9ecd76a0e0
tree5dba6ff1192322cabf603a93291419039763fcb5
parent706530c295dcf528d7307a524020457a0a6d5f59
aix5-allocator-cleanup-20050403

* Removed memory allocation functions only used on AIX and ancient
   HPUX. If the performance penalty is noticeable, implement a wrapper
   at the osi-level in the same manner as LINUX/FBSD (ie not sprayed
   throughout the code).
* Removed all remnants of splnet()-style locking, it was not
   sufficient for MP anyway which the real locks are. Affects only AIX
   and HPUX.
* Drop the global locking in rxi_Alloc since the real locks do their
   jobs, affects only AIX41 and up (ie. MP capable OS).
* Fix the non-kernel wrapper for osi_Alloc/Free on AIX to take void *
   in the same manner as the rest of the functions. IMO this wrapper
   shouldn't be necessary since you should never ever malloc() 0 bytes,
   but since it's there I'd guess someone made stupid assumptions
   somewhere...
* Restores MAXKTCTICKETLEN to 12000 on AIX
* Restores AFS_LWP_MINSTACKSIZE to 48k on AIX (might affect
   server-stuff)
src/afs/afs_daemons.c
src/afs/afs_init.c
src/afs/afs_osi_alloc.c
src/afs/afs_prototypes.h
src/afs/sysincludes.h
src/lwp/lwp.h
src/rx/rx.c
src/rx/rx_prototypes.h
src/rx/rx_user.c
src/rxkad/rxkad.p.h