lkml.org 
[lkml]   [1997]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Should vmalloc and kmalloc be integrated?
Date
> Except for DMA buffer allocations (where contiguous memory is needed)
> vmalloc and kmalloc are equivally correct to use. There is allready a
> DMA priority in the linux kernel for kmalloc so it can detect that
> situation.

vmalloc isnt usable at interrupt time and is also slower - furthermore on
some platforms vmalloc memory continues to be slower to access forever. That
isnt to say its not a potentially useful idea. Alas most problem cases
are either DMA buffers or interrupt handlers or both

Alan


\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.061 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site