[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Memory allocation problem
Christoph Hellwig wrote:
>
> On Wed, Apr 30, 2003 at 03:28:25PM -0700, Greg KH wrote:
> > On Wed, Apr 30, 2003 at 10:14:38PM -0000, anand kumar wrote:
> > >
> > > Is there any other mechanism to allocate large amount of
> > > physically contiguous memory blocks during normal run time of the
> > > driver? Is this being addressed in later kernels.
> >
> > Look at vmalloc(). It should do what you are looking for.
>
> vmalloc is not physically continguos, He could use bootmem
> unless he wants his driver to work modular.
Search for the bigphysarea kernel patch. It will do what you want.
Mark
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/