]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE14-aix5-allocator-cleanup-20050403
authorNiklas Edmundsson <Niklas.Edmundsson@hpc2n.umu.se>
Sun, 3 Apr 2005 19:18:54 +0000 (19:18 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sun, 3 Apr 2005 19:18:54 +0000 (19:18 +0000)
commit2cd086444cd8ffafc991e8658b0735f59b209742
tree2df5b6298adc10b8cc11d9dadd80b0ecf5970635
parent18fb7350834a389a19516397b4c5c40ce987cd26
STABLE14-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)

(cherry picked from commit 412854593cf368006c18e6c0dc607a9ecd76a0e0)
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