git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
include
/
linux
/
kmalloc_sizes.h
diff --git
a/include/linux/kmalloc_sizes.h
b/include/linux/kmalloc_sizes.h
index
d82d4c0
..
bda23e0
100644
(file)
--- a/
include/linux/kmalloc_sizes.h
+++ b/
include/linux/kmalloc_sizes.h
@@
-19,8
+19,10
@@
CACHE(32768)
CACHE(65536)
CACHE(131072)
CACHE(32768)
CACHE(65536)
CACHE(131072)
-#if
ndef CONFIG_MMU
+#if
(NR_CPUS > 512) || (MAX_NUMNODES > 256) || !defined(CONFIG_MMU)
CACHE(262144)
CACHE(262144)
+#endif
+#ifndef CONFIG_MMU
CACHE(524288)
CACHE(1048576)
#ifdef CONFIG_LARGE_ALLOCS
CACHE(524288)
CACHE(1048576)
#ifdef CONFIG_LARGE_ALLOCS