Thread (9 messages) 9 messages, 3 authors, 2011-09-16

the cost of vmalloc

From: Zheng Da <hidden>
Date: 2011-09-10 20:54:05

Hi,

On Sat, Sep 10, 2011 at 3:30 PM, Michael Blizek
[off-list ref] wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help