From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <499D5B0A.7020608@domain.hid> Date: Thu, 19 Feb 2009 13:13:46 +0000 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <499D359C.3060805@domain.hid> <499D3801.5040303@domain.hid> <499D3FE6.4030208@domain.hid> In-Reply-To: <499D3FE6.4030208@domain.hid> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-core] XENO_OPT_SYS_STACKPOOLSZ vs. switchtest List-Id: "Xenomai life and development \(bug reports, patches, discussions\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: xenomai-core Jan Kiszka wrote: > Gilles Chanteperdrix wrote: >> Jan Kiszka wrote: >>> Hi Gilles, >>> >>> how much XENO_OPT_SYS_STACKPOOLSZ do I need to run switchtest for >>> default settings? At least on x86-64, the default 32K is not enough. >>> Unless we talk about GB ;), maybe it makes sense to adjust the default >>> size accordingly. >> It depends on the arguments you pass to switchtest. > > None, ie. the default settings. Then 6 kernel-space tasks are created. Since switchtest is not the average use of Xenomai, and is supposed to be used only for validating the context/FPU switches, I would not change XENO_OPT_SYS_STACKPOOL_SZ, maybe only add a clear message when creation of kernel-space tasks fails. -- Gilles.