From 85f3d0941b37c71047f59e1b1f4f92557d232fb8 Mon Sep 17 00:00:00 2001 From: Perry Ruiter Date: Tue, 27 May 2014 01:16:26 -0700 Subject: [PATCH] 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. Change-Id: I1333aed508875e9b13dc3f36f3ff0d5eadfb2cfd 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 --- src/afs/afs.h | 1 - src/config/afs_args.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/afs/afs.h b/src/afs/afs.h index fbd542ddb..38df2cf45 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 b9b0295b9..089c27a03 100644 --- a/src/config/afs_args.h +++ b/src/config/afs_args.h @@ -175,8 +175,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 */ -- 2.39.5