lkml.org 
[lkml]   [1997]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Raid0 needs more memory.
Date
>   As someone else has already suggested to me, I suppose I should have just
> fixed raid0 with vmalloc instead of "fixing" kmalloc. Probably would have
> been easier. What penalties are there for using vmalloc over kmalloc, if
> any?

vmalloc memory is logically but not physically contiguous and on a lot
of platforms it is also slightly slower to access sometimes (its not in the
single kernel 4Mb TLB on intel for example). The performance issue is
miniscule, the virtual nature of its mapping means its no use for DMAing
into.

Oh and finally you cannot vmalloc in an interrupt or bh

Alan


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