rt_mbx_int and vmalloc and others

Tilman Jurk tjurk at optitas.de
Mon Nov 11 09:12:15 CET 2002


Paolo,
thanks it shuld work (setting global var "low_chk_ref").
BTW:
One of the questions in the mailing list was:
During processing an InterruptsServiceRoutine, data is sent to a mailbox 
with a task attached waiting for the mailbox data. The scheduler switches 
to the waitin' task, while still in ISR.
You said: "this is real preemption".
I think, this may lead in unpredictable results. An ISR should always be 
able to finish it's work BEFORE the scheduler continues.

Tilman

--On Montag, 11. November 2002 10:04 +0100 Paolo Mantegazza 
<mantegazza at aero.polimi.it> wrote:

> Tilman Jurk wrote:
>>
>> Hi anybody,
>> i'm using RTAI V24.1.9 and trying to initialize mailboxes with size >
>> 128kB via rt_mbx_init().
>> The vmalloc necessary flags are all set int he kernel configs.
>> But ... it does NOT work.
>> rt_malloc (or rt_mbx_init) never initializes more than 128kB at a time.
>> Any ideas
>
> You have to set the configuration parameters in rt_mem_mgr according to
> your, very large, needs. See the related README.
>
> Paolo.




Tilman Jurk
(Geschaeftsfuehrer - Managing Director)
--------------------------------------------------
OPTITAS GmbH
Gutenbergstr. 5
67227 Frankenthal
Germany
Fon +49 (6233) 239028-0
Fax +49 (6233) 239028-4
--------------------------------------------------
http://www.optitas.de
http://www.optitas.com

mailto:tjurk at optitas.de

mailto:info at optitas.de
mailto:sales at optitas.de
mailto:support at optitas.de
--------------------------------------------------





More information about the Rtai mailing list