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

Re: Memory allocation in Linux (fwd)



"Amit S. Jain" <amitjain@tifr.res.in> writes:

> You cannot pass address returned from vmalloc to hardware: vmalloc returns
> > a virtual mapping of memory.
> >
> >               -ben
> 
> 
>  Thanks Ben,
> 
> So wass the solution for this.....??

Call get_free_pages explicitly use the scatter gather support
in the network layer.  You should be able to pass a linked
list of pages.

Eric
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/