how do I increase default kernel stack size for my MPC8548 board?

hank peng pengxihan at gmail.com
Fri Apr 30 10:43:00 EST 2010


In kernel source, default kernel stack size for PPC32 is as follows:
#if defined(CONFIG_PPC64)
#define THREAD_SHIFT		14
#elif defined(CONFIG_PPC_256K_PAGES)
#define THREAD_SHIFT		15
#else
#define THREAD_SHIFT		13
#endif

#define THREAD_SIZE		(1 << THREAD_SHIFT)

So, default value is 8K, but now I want to increase it to 16K, is it
OK just to change THREAD_SHIFT to 14? or is there some patch needed?

-- 
The simplest is not all best but the best is surely the simplest!


More information about the Linuxppc-dev mailing list