On Mon, 23 Apr 2001, David Schleef wrote:

> On Mon, Apr 23, 2001 at 04:29:47PM -1000, Tony Denault wrote:
> >
> > I need ~2MB memory buffer to shared data between the rtl and linux
> > process. I need the virtual address returned by mbuff to be the same to
> > all task gaining access to my mbuff() memory. How can this be done?

> This isn't really reasonable.  Even among user-space tasks,
> you are essentially at the mercy of the kernel to provide
> you with it's best effort to map memory to a particular
> location.  Plus, you need to have a good idea of an area that
> the kernel will allow you to use in every process.
>

I guess I'm a little disappointed. I would of though the kernel would be
able to return 'almost' any unused virtual address to either the realtime
or  normal linux task. It would be extremely powerful to be able to
request shared memory and ask the virtual address be (for example)
0xa00000000. Then tasks can shared data implemented as a link list inside
that memory area.

How are these thing typically done? For example, buffer for variable size
data, or complex array (array of arrrays). Declare them before with a
MAX_SIZE? Not efficient, but just buy lots of RAM?

Thanks,

Tony
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to