how to allocate 9MB of memory in kernel ?
Arnd Bergmann
arnd at arndb.de
Thu Jul 17 18:24:02 EST 2008
On Thursday 17 July 2008, Misbah khan wrote:
> vmalloc can only allocate 128k i guess where in i need 9MB allocated when
> driver is inserted and would be released only when its removed. mapping to
> user space is not a concern
The 128kb limitation is in kmalloc, not vmalloc. The latter is
specifically meant to have no limitations on the memory size
(other than the available resources), at the expense of having
to create a new virtual mapping.
Arnd <><
More information about the Linuxppc-embedded
mailing list