From: Philippe Gerum <rpm@xenomai.org>
To: Jeff Webb <jeff.webb@nta-inc.net>, Xenomai <xenomai@xenomai.org>
Subject: Re: [Xenomai] switchtest in Xenomai-3.0-rc2
Date: Fri, 12 Dec 2014 09:47:06 +0100 [thread overview]
Message-ID: <548AAB8A.7060406@xenomai.org> (raw)
In-Reply-To: <5489D81D.7070003@nta-inc.net>
On 12/11/2014 06:45 PM, Jeff Webb wrote:
> In Xenomai-3.0-rc2, doc/asciidoc/TROUBLESHOOTING.COBALT.adoc still says
> this:
>
>
> === Issues when running the _switchtest_ program
>
> ==== pthread_create: Resource temporarily unavailable
>
> The switchtest test creates many kernel threads, this means that the
> options +CONFIG_XENO_OPT_SYS_HEAPSZ+ and
> +CONFIG_XENO_OPT_SYS_STACKPOOLSZ+, in your kernel configuration,
> should be configured to large enough values. Try increasing them,
> rebuilding the kernel.
>
>
> but, it looks like CONFIG_XENO_OPT_SYS_STACKPOOLSZ has been removed in
> Xenomai-3. Is there another an equivalent variable that I might need to
> increase, or is increasing CONFIG_XENO_OPT_SYS_HEAPSZ sufficient to get
> rid of the error below?
>
It is sufficient to increase SYS_HEAPSZ, there is no private stack pool
anymore, since Xenomai kthreads are now fully mapped over regular
kthreads. i.e. we don't have to allocate stacks for our kernel threads,
we simply inherit the kernel stack underlying the new regular kthread.
The doc was fixed accordingly. Thanks for the heads up.
--
Philippe.
next prev parent reply other threads:[~2014-12-12 8:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-11 17:45 [Xenomai] switchtest in Xenomai-3.0-rc2 Jeff Webb
2014-12-12 8:47 ` Philippe Gerum [this message]
2014-12-12 19:55 ` Jeff Webb
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=548AAB8A.7060406@xenomai.org \
--to=rpm@xenomai.org \
--cc=jeff.webb@nta-inc.net \
--cc=xenomai@xenomai.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.