From: hank peng <pengxihan@gmail.com>
To: linuxppc-dev <linuxppc-dev@ozlabs.org>
Subject: how do I increase default kernel stack size for my MPC8548 board?
Date: Fri, 30 Apr 2010 08:43:00 +0800 [thread overview]
Message-ID: <r2u389deec71004291743ra5fe0d49yaf317b5c5aaea6b7@mail.gmail.com> (raw)
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!
next reply other threads:[~2010-04-30 0:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-30 0:43 hank peng [this message]
2014-03-11 12:35 ` how do I increase default kernel stack size for my MPC8548 board? perth1415
2014-03-11 14:19 ` perth1415
2014-03-14 0:11 ` Scott Wood
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=r2u389deec71004291743ra5fe0d49yaf317b5c5aaea6b7@mail.gmail.com \
--to=pengxihan@gmail.com \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).