From 8c34de10f47591abf287d6e3696667fbec4c9d2f Mon Sep 17 00:00:00 2001 From: Seth Jennings Date: Fri, 25 Jan 2013 11:46:18 -0600 Subject: [PATCH] --- yaml --- r: 354266 b: refs/heads/master c: d662b8eba94e9f6d4c036719dbf629ef0c9309cf h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/staging/zsmalloc/zsmalloc-main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 6362352c93e9..858fb1b7a3ea 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e21545449b2b96775065f237063a224fff21ed9d +refs/heads/master: d662b8eba94e9f6d4c036719dbf629ef0c9309cf diff --git a/trunk/drivers/staging/zsmalloc/zsmalloc-main.c b/trunk/drivers/staging/zsmalloc/zsmalloc-main.c index eb0077261ac6..93eb03e30fb4 100644 --- a/trunk/drivers/staging/zsmalloc/zsmalloc-main.c +++ b/trunk/drivers/staging/zsmalloc/zsmalloc-main.c @@ -141,7 +141,7 @@ * ZS_MIN_ALLOC_SIZE and ZS_SIZE_CLASS_DELTA must be multiple of ZS_ALIGN * (reason above) */ -#define ZS_SIZE_CLASS_DELTA 16 +#define ZS_SIZE_CLASS_DELTA (PAGE_SIZE >> 8) #define ZS_SIZE_CLASSES ((ZS_MAX_ALLOC_SIZE - ZS_MIN_ALLOC_SIZE) / \ ZS_SIZE_CLASS_DELTA + 1)