linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* how do I increase default kernel stack size for my MPC8548 board?
@ 2010-04-30  0:43 hank peng
  2014-03-11 12:35 ` perth1415
  0 siblings, 1 reply; 4+ messages in thread
From: hank peng @ 2010-04-30  0:43 UTC (permalink / raw)
  To: linuxppc-dev

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!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-03-14  0:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-30  0:43 how do I increase default kernel stack size for my MPC8548 board? hank peng
2014-03-11 12:35 ` perth1415
2014-03-11 14:19   ` perth1415
2014-03-14  0:11     ` Scott Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).