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

From: Timur Tabi (ttabi@interactivesi.com)
Date: Thu Jul 20 2000 - 12:03:16 EST


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



This archive was generated by hypermail 2b29 : Sun Jul 23 2000 - 21:00:13 EST