lkml.org 
[lkml]   [2008]   [Feb]   [8]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
DateThu, 7 Feb 2008 23:10:01 -0800 (PST)
FromChristoph Lameter <>
SubjectRe: [PATCH 1/2] kmemcheck v3
On Thu, 7 Feb 2008, Vegard Nossum wrote:

> - DMA can be a problem since there's generally no way for kmemcheck to
>   determine when/if a chunk of memory is used for DMA. Ideally, DMA should be
>   allocated with untracked caches, but this requires annotation of the
>   drivers in question.

There is a fundamental misunderstanding here: GFP_DMA allocations have 
nothing to do with DMA. Rather GFP_DMA means allocate memory in a special 
range of physical memory that is required by legacy devices that cannot 
use the high address bits for one or the other reason. Any regular 
memory can be used for DMA.

Could you refactor the patch a bit? This is quite a big patch.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2008-02-08 07:13    [W:0.377 / U:0.870 seconds]
©2003-2008 Jasper Spaans