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] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.1010131351520.15185@chino.kir.corp.google.com>
Date:	Wed, 13 Oct 2010 13:53:42 -0700 (PDT)
From:	David Rientjes <rientjes@...gle.com>
To:	Casey Dahlin <cdahlin@...hat.com>
cc:	linux-kernel@...r.kernel.org
Subject: Re: A question about ZONE_DMA

On Wed, 13 Oct 2010, Casey Dahlin wrote:

> Hi all,
> 
> So if I understand correctly, ZONE_DMA exists to separate and preserve the
> chunk of memory to which older ISA cards are capable of doing DMA. The question
> that arises for me is:
> 
> 1) Why do /all/ 32-bit boxes have a ZONE_DMA when surely only a tiny and
> shrinking number of them have a need for it?
> 

If you don't need it, disable CONFIG_ZONE_DMA, which is useful to prevent 
oom conditions when lowmem_reserve_ratio reserves memory in that zone that 
you'll never need to save.

If you do disable that option, you may also want to look at disabling 
CONFIG_GENERIC_ISA_DMA and CONFIG_ISA_DMA_API which you need to hack a 
little to get to compile.  I'll send a patch to fix that.
--
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