[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Larger kalloc sizes
I've googled around a bit and couldn't find any talk on larger alloc
sizes, I'm currious about the include/linux/kmalloc_sizes.h and if I
have MMU is there anything bad (except for low memory situations)
forcing the kernel to have those higher memory sizes?
Specifically removing the ifdefs so that they are enabled?
- David Brown
#if (NR_CPUS > 512) || (MAX_NUMNODES > 256) || !defined(CONFIG_MMU)
CACHE(262144)
#endif
- #ifndef CONFIG_MMU
CACHE(524288)
CACHE(1048576)
- #ifdef CONFIG_LARGE_ALLOCS
CACHE(2097152)
CACHE(4194304)
CACHE(8388608)
CACHE(16777216)
CACHE(33554432)
- #endif /* CONFIG_LARGE_ALLOCS */
- #endif /* CONFIG_MMU */
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/