Allow private implementations of osi_AllocSmall/LargeSpace
authorChas Williams (CONTRACTOR) <chas@cmf.nrl.navy.mil>
Mon, 4 Oct 2010 19:08:10 +0000 (15:08 -0400)
committerDerrick Brashear <shadow@dementia.org>
Tue, 19 Oct 2010 19:02:38 +0000 (12:02 -0700)
commitdcb40c9fb8629e028e2dfa6333423b0ce0c00abc
treef825f5ab7b4d13368131b7b59c198fe194be96c0
parent1a48bb7952bfc4df646bf9e2e6c55c884d54ccad
Allow private implementations of osi_AllocSmall/LargeSpace

NBSD seemed to already do this at one point but was partly disabled.
This patches generalizes this feature by adding a define to disable the
standard pool macros.  Linux's slab based allocator should out perform
this single threaded allocator/pool.

Change-Id: Id8d498c11874b7d87736968b99f7ca023af4af36
Reviewed-on: http://gerrit.openafs.org/2998
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/afs/LINUX/osi_alloc.c
src/afs/NBSD/osi_misc.c
src/afs/afs_init.c
src/afs/afs_osi_alloc.c
src/afs/afs_pag_call.c
src/config/param.linux26.h