(no subject)

From: Andi Kleen (ak_at_suse.de)
Date: 12/14/04

  • Next message: Jan Engelhardt: "Re: how to add 32/64 compatible ioctls at runtime via module?"
    Date:	Tue, 14 Dec 2004 18:30:26 +0100
    To: linux-kernel@vger.kernel.org, akpm@osdl.org, alan@lxorguk.ukuu.org.uk, arjan@infradead.org
    
    

    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()

    -
    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/


  • Next message: Jan Engelhardt: "Re: how to add 32/64 compatible ioctls at runtime via module?"

    Relevant Pages

    • Re: 2.6.10-rc2-mm4
      ... rotates about binary drivers. ... free DRI ATI drivers have exactly the same problems (ATI hardware has ... about the impact on the fragile 2.4 VM of the additional zone. ... I plan to address that. ...
      (Linux-Kernel)
    • Re: Delphi 8 ... is it a worthy investment?
      ... They have said that new features are coming in March patch. ... > Probably just DB drivers, ... Still...if you don't plan to install the dotnet framework on every PC you ...
      (borland.public.delphi.non-technical)
    • Re: [RFC|PATCH][2.6] Additional i2c adapter flags for i2c client isolation
      ... >>drivers and I plan to patch them accordingly) ... of the fact that these are my drivers, ... All I can say is that some busses and chips concern ... If we have agreed on one model, we need to create a big patch and get it ...
      (Linux-Kernel)
    • Re: X fails to start with latest Linus git
      ... Movable zone start PFN for each node ... abituguru: alarm not raised during volt sensor test ... # Device Drivers ...
      (Linux-Kernel)
    • Latest -git ioremap error
      ... And git blame lead me to the following commit: ... Movable zone start PFN for each node ... abituguru: alarm not raised during volt sensor test ... # Device Drivers ...
      (Linux-Kernel)