Thread (7 messages) 7 messages, 5 authors, 2009-04-28

Re: [PATCH 1/3] IB/ehca: Replace vmalloc with kmalloc

From: michael <hidden>
Date: 2009-04-22 16:17:40
Also in: lkml

Possibly related (same subject, not in this thread)

Hi,

Stefan Roscher wrote:
On Wednesday 22 April 2009 04:10:18 pm michael wrote:
  
quoted
Hi,

    
  
quoted
I don't take the point, if it is not import use the vmalloc. Why you try 
with a kmalloc
alloc first? and why do not use kzalloc?
    
Because kmalloc() is faster than vmalloc() causing a huge performance win
when someone allocates a large number of queue pairs. We fall back to
vmalloc() only if kmalloc() can't deliver the memory chunk.
  
Sorry I catch later the performace issue.
We don't need kzalloc because we fill the list right after the alloc.

regards Stefan
  
Regards Michael
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help