projects
/
h-e-n
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Maemo patchset 20101501+0m5
[h-e-n]
/
include
/
linux
/
slub_def.h
diff --git
a/include/linux/slub_def.h
b/include/linux/slub_def.h
index
2f5c16b
..
8c69eaf
100644
(file)
--- a/
include/linux/slub_def.h
+++ b/
include/linux/slub_def.h
@@
-139,8
+139,10
@@
static __always_inline int kmalloc_index(size_t size)
return KMALLOC_SHIFT_LOW;
#if KMALLOC_MIN_SIZE <= 64
+#if KMALLOC_MIN_SIZE <= 32
if (size > 64 && size <= 96)
return 1;
+#endif
if (size > 128 && size <= 192)
return 2;
#endif