lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0802072307040.22292@schroedinger.engr.sgi.com>
Date:	Thu, 7 Feb 2008 23:10:01 -0800 (PST)
From:	Christoph Lameter <clameter@....com>
To:	Vegard Nossum <vegard.nossum@...il.com>
cc:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Ingo Molnar <mingo@...e.hu>,
	Pekka Enberg <penberg@...helsinki.fi>,
	Andi Kleen <andi@...stfloor.org>,
	Richard Knutsson <ricknu-0@...dent.ltu.se>
Subject: Re: [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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ