the cost of vmalloc
Zheng Da
zhengda1936 at gmail.com
Sat Sep 10 16:54:05 EDT 2011
Hi,
On Sat, Sep 10, 2011 at 3:30 PM, Michael Blizek
<michi1 at michaelblizek.twilightparadox.com> wrote:
>> The whole point of allocating a large chunk of memory is to avoid
>> extra memory copy because I need to run decompression algorithms on
>> it.
>
> In this case scatterlists solves 2 problems at once. First, you will not need
> to allocate large continuous memory regions. Second, you avoid wasting memory.
The problem is that the decompression library works on contiguous
memory, so I have to provide contiguous memory instead of
scatterlists.
Thanks,
Da
More information about the Kernelnewbies
mailing list