OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-280-gdcb40c9
Gerrit Code Review
gerrit@openafs.org
Tue, 19 Oct 2010 12:03:13 -0700 (PDT)
The following commit has been merged in the master branch:
commit dcb40c9fb8629e028e2dfa6333423b0ce0c00abc
Author: Chas Williams (CONTRACTOR) <chas@cmf.nrl.navy.mil>
Date: Mon Oct 4 15:08:10 2010 -0400
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 | 31 +++++++++++++++++++++++++++++++
src/afs/NBSD/osi_misc.c | 7 ++-----
src/afs/afs_init.c | 2 +-
src/afs/afs_osi_alloc.c | 19 ++++++++++++++-----
src/afs/afs_pag_call.c | 4 ----
src/config/param.linux26.h | 2 ++
6 files changed, 50 insertions(+), 15 deletions(-)
--
OpenAFS Master Repository