From: Perry Ruiter Date: Tue, 27 May 2014 08:16:26 +0000 (-0700) Subject: Delete several unused memory management constants X-Git-Tag: upstream/1.6.10_pre1^2~98 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=aa734b700c8f6d6d84f35318ab8f669bb17853c0;p=packages%2Fo%2Fopenafs.git Delete several unused memory management constants Change 412854593cf368006c18e6c0dc607a9ecd76a0e0, removed from the code base the last usage of: AFS_SALLOC_LOW_WATER (defined in afs/afs.h) AFS_MALLOC_LOW_WATER (defined in config/afs_args.h) AFS_MDALLOCSIZ (defined in config/afs_args.h) This patch deletes these constants. Reviewed-on: http://gerrit.openafs.org/11173 Tested-by: BuildBot Reviewed-by: Chas Williams - CONTRACTOR Reviewed-by: Michael Meffie Reviewed-by: Benjamin Kaduk Reviewed-by: Jeffrey Altman (cherry picked from commit 85f3d0941b37c71047f59e1b1f4f92557d232fb8) Change-Id: Ie9178db145bde21021251a17adb4bbb1bd77f14d Reviewed-on: http://gerrit.openafs.org/11208 Tested-by: BuildBot Reviewed-by: Perry Ruiter Reviewed-by: Andrew Deason Reviewed-by: Chas Williams - CONTRACTOR Reviewed-by: Stephan Wiesand --- diff --git a/src/afs/afs.h b/src/afs/afs.h index c2140f898..e659851bc 100644 --- a/src/afs/afs.h +++ b/src/afs/afs.h @@ -95,7 +95,6 @@ extern int afs_shuttingdown; #define AFS_MAXCBRSCALL 32 /* max to return in a given call (must be <= AFSCBMAX) */ -#define AFS_SALLOC_LOW_WATER 250 /* Min free blocks before allocating more */ #define AFS_LRALLOCSIZ 4096 /* "Large" allocated size */ #define VCACHE_FREE 5 #define AFS_NRXPACKETS 80 diff --git a/src/config/afs_args.h b/src/config/afs_args.h index 9864b8bfc..153fba86e 100644 --- a/src/config/afs_args.h +++ b/src/config/afs_args.h @@ -181,8 +181,6 @@ struct afs_cacheParams { /* Used in rx.c as well as afs directory. */ #if defined(AFS_AIX32_ENV) || defined(AFS_HPUX_ENV) /* XXX Because of rxkad_cprivate... XXX */ -#define AFS_MDALLOCSIZ (127*sizeof(void *)) /* "Medium" allocated size */ -#define AFS_MALLOC_LOW_WATER 50 /* Min free blocks before allocating more */ #define AFS_SMALLOCSIZ (38*sizeof(void *)) /* "Small" allocated size */ #else #define AFS_SMALLOCSIZ (64*sizeof(void *)) /* "Small" allocated size */