how to allocate 9MB of memory in kernel ?
Marco Stornelli
marco.stornelli at coritel.it
Thu Jul 17 17:51:58 EST 2008
Misbah khan ha scritto:
> Hi all,
>
> I need to allocate 9 MB of memory in to the kernel space which i need to
> mmap for the application to access.
>
> I need to know what could be the best possible way of doing the same.
>
> Please share your experience in this regard .
>
> Thank you in advance
>
> ----Misbah <><
You can use the mem option to tell to the kernel that you've got less
ram you really have. However you can read Linux device drivers chapter 8
"Obtaining Large Buffers" :).
Regards,
--
Marco Stornelli
Embedded Software Engineer
CoRiTeL - Consorzio di Ricerca sulle Telecomunicazioni
http://www.coritel.it
marco.stornelli at coritel.it
+39 06 72582838
More information about the Linuxppc-embedded
mailing list