From: "Andi Kleen" <ak@suse.de>
To: linux-kernel@vger.kernel.org, akpm@osdl.org,
alan@lxorguk.ukuu.org.uk, arjan@infradead.org
Date: Tue, 14 Dec 2004 18:30:26 +0100 [thread overview]
Message-ID: <41BF2332.mailL911D9Q6T@suse.de> (raw)
Sender: ak@wotan.suse.de
To: Arjan van de Ven <arjan@infradead.org>
cc: alan@lxorguk.ukuu.org.uk, akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: 2.6.10-rc2-mm4
References: <20041130095045.090de5ea.akpm@osdl.org.suse.lists.linux.kernel>
<1101837994.2640.67.camel@laptop.fenrus.org.suse.lists.linux.kernel>
<20041130102105.21750596.akpm@osdl.org.suse.lists.linux.kernel>
<1101839110.2640.69.camel@laptop.fenrus.org.suse.lists.linux.kernel>
<20041130103218.513b8ce0.akpm@osdl.org.suse.lists.linux.kernel>
<1101843401.2640.73.camel@laptop.fenrus.org.suse.lists.linux.kernel>
From: Andi Kleen <ak@suse.de>
Date: 14 Dec 2004 18:30:25 +0100
In-Reply-To: <1101843401.2640.73.camel@laptop.fenrus.org.suse.lists.linux.kernel>
Message-ID: <p73oegweqj2.fsf@wotan.suse.de>
Lines: 54
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Arjan van de Ven <arjan@infradead.org> writes:
[sorry for late answer]
> On Tue, 2004-11-30 at 10:32 -0800, Andrew Morton wrote:
> > "This helps mainly graphic drivers who really need a lot of memory below
> > the 4GB area.
>
> oh.. it's a hook for the binary nvidia module....
> might as well call the patch that then :)
No, that's wrong. It's a new API for any driver that needs it,
which are quite a lot. Please don't assume that all word
rotates about binary drivers.
It would have helped if you had read the description fully
before flaming.
I wouldn't have done it only for some binary only driver.
Nvidia can use it and it will probably be useful for themw, but the
free DRI ATI drivers have exactly the same problems (ATI hardware has
the same problem). I plan to change them to use this new
interface. From what I gathered from various people the problem exists
in a lot more hardware. I suspect it will be used e.g. by video frame
grabber drivers and sound devices and some others.
It also has nothing directly to do with Intel chipsets and lack of
IOMMUs. The problem happens even on AMD because the IOMMU area there
is too small (often only 64-128MB because it is shared with the AGP
aperture). Together with 16MB GFP_DMA you get 96MB, which is very tiny
for today's standards.
And 96MB is just not enough for various people and requiring the users
to change obscure command line options or the BIOS to enlarge the buffer is
just not a nice interface.
The main problem we have is that windows seems to make it very
easy to allocate memory below a specific range, so a lot of hardware
assumes this works :(
There were actually plans in the beginning of the x86-64 port
for such an additional zone, but back then we were worried
about the impact on the fragile 2.4 VM of the additional zone.
That doesn't seem to be a big issue anymore though and NUMA
has proven that the VM can cope with a lot of zones.
-Andi
P.S.: I'm surprised none of you found the main issue in the current
patch - that it makes GFP_DMA and GFP_DMA incompatible between x86-64
and IA64. I plan to address that. Also there will be followon patches
to convert some drivers and make it used by dma_alloc_coherent()
reply other threads:[~2004-12-14 17:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41BF2332.mailL911D9Q6T@suse.de \
--to=ak@suse.de \
--cc=akpm@osdl.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=arjan@infradead.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome