Linux-kernel mailing list archive 2000-29,: Re: adding physical memory-pages to Linux' pool-of-pages

# Re: adding physical memory-pages to Linux' pool-of-pages

Timur Tabi (ttabi@interactivesi.com)
Thu, 20 Jul 2000 12:03:16 -0500

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Antonello Biancalana: "AWE 32 and MIDI"
- Previous message: Linus Torvalds: "Re: [patch-2.4.0-test5-pre3] struct inode shortened"

** Reply to message from Jeff Garzik <jgarzik@mandrakesoft.mandrakesoft.com> on
Thu, 20 Jul 2000 11:39:59 -0500 (CDT)

> > What I want to do is; I have an PCI-card with on-board RAM. I want somehow
> > to tell the kernel that it can use that RAM as if it was any other RAM.
>
> Have you benchmarked accessing system memory versus PCI shared mem?

Yes, the PCI RAM will be very slow compared to normal RAM. I don't think it
will help much. But if you insist, ...

the easiest way is to create another Zone, and modify the zonelist structures
to use that Zone as a backup zone for ZONE_NORMAL. Then, whenever you run out
of normal RAM, it will allocate your PCI RAM.

There's a linux-mm mailing list that might be more useful, if you decide to
pursue this.

    --
    Timur Tabi - ttabi@interactivesi.com
    Interactive Silicon - http://www.interactivesi.com

    When replying to a mailing-list message, please don't cc: me, because then I'll just get two copies of the same message.

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

- Next message: Antonello Biancalana: "AWE 32 and MIDI"
- Previous message: Linus Torvalds: "Re: [patch-2.4.0-test5-pre3] struct inode shortened"