On Wed, 19 Apr 2000, Olaf Petzold wrote:
> Could it be, that the amount of memory which I want to copy must be less
> than PAGE_SIZE???? The structure has a size of about 512 kB! The shared
> memory is allocated by mbuff, no problems. The local copy which I try to
> fill with the contents of the shm structure is a static variable, like
How do you allocate this static variable? Did you just declare it to be so
big?
> kmalloc can only allocate about 131072 Bytes. I have heard about vmalloc()
> inside kernel space - is this the solution to allocate an local memory region?
If you want bigger area, yes. Mbuff is using also vmalloc.
If I find some time today, I will try to run your code again, this time
focusing on memcpy problem.
Best regards,
--
Tomek
-- [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/