[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [rtl] memory allocation again



You might be able to gin up your own using reflective memory cards.

Rich


> ----------
> From: 	Lothar Krause[SMTP:loti@gmx.at]
> Reply To: 	loti@gmx.at
> Sent: 	Tuesday, March 27, 2001 4:43 AM
> To: 	rtl@rtlinux.org
> Subject: 	[rtl] memory allocation again
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello,
> 
> I know maybe this question was probably discussed in every possible way 
> but...  I have a problem with a piece of software that uses dynamic memory 
> allocation everywhere. One side of the problem is that I'd like to use shared 
> memory and so I thought of replacing malloc with an allocator that uses a 
> given memory buffer. 
> One the other side in realtime I'm restricted to use rtlinux without touching 
> any internals, so I guess I can't simply use rtai rt_mem_mgr, my idea would 
> be to preallocate a a memory block in init_module() and use my own allocator 
> to manage that block afterwards. Unfortunately I couldn't find a memory 
> allocator that allows using your own memory block without stdio/stdlib 
> nuisances. And I don't want to write still another memory allocator if 
> someone else did this before. 
> 
> (I volunteer to write a short summary/howto on this, if I get it working)
> 
> thanks, Lothar
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.4 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
> 
> iEYEARECAAYFAjrAitQACgkQWbVzuaL/T/ckgQCgj2npkFCu+F50o/mD2LXAhBeo
> upMAniN0rjBn5va5XZIA4fHe+UbAsEVE
> =w2QI
> -----END PGP SIGNATURE-----
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/
>