projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73367bd
)
SLUB: Allow full duplication of kmalloc array for 390
author
Christoph Lameter
<
[email protected]
>
Thu, 27 May 2010 14:17:17 +0000
(09:17 -0500)
committer
Pekka Enberg
<
[email protected]
>
Sun, 30 May 2010 10:02:08 +0000
(13:02 +0300)
Commit
756dee75872a2a764b478e18076360b8a4ec9045
("SLUB: Get rid of dynamic DMA
kmalloc cache allocation") makes S390 run out of kmalloc caches. Increase the
number of kmalloc caches to a safe size.
Cc: <
[email protected]
> [ .33 and .34 ]
Reported-by: Heiko Carstens <
[email protected]
>
Tested-by: Heiko Carstens <
[email protected]
>
Signed-off-by: Christoph Lameter <
[email protected]
>
Signed-off-by: Pekka Enberg <
[email protected]
>
include/linux/slub_def.h
patch
|
blob
|
history
diff --git
a/include/linux/slub_def.h
b/include/linux/slub_def.h
index 6ac37664e8fe4434ae6f9ee0e3dedf60c0e15e67..4ba59cfc1f7562c0bb8cb900c4f8d444554d25d5 100644
(file)
--- a/
include/linux/slub_def.h
+++ b/
include/linux/slub_def.h
@@
-137,7
+137,7
@@
struct kmem_cache {
#ifdef CONFIG_ZONE_DMA
#define SLUB_DMA __GFP_DMA
/* Reserve extra caches for potential DMA use */
-#define KMALLOC_CACHES (2 * SLUB_PAGE_SHIFT
- 6
)
+#define KMALLOC_CACHES (2 * SLUB_PAGE_SHIFT)
#else
/* Disable DMA functionality */
#define SLUB_DMA (__force gfp_t)0