Re: exported version of page_is_ram?

From: Arjan van de Ven
Date: Tue May 06 2008 - 09:56:25 EST


On Mon, 5 May 2008 17:13:46 -0400
"Timur Alperovich" <timur.alperovich@xxxxxxxxx> wrote:

> I put the whole driver on pastebin http://pastebin.com/m24c50118
> For now I tried to use the code for page_is_ram in there, only to
> realize that e820 struct is also not exported. Is there a way to do
> this with the existing code in the kernel, since I'd like the code to
> run on older 2.6 kernels as well?

to be honest, the real solution would be to make an "for each memory
page" iterator in the main kernel...
working on older kernels isn't going to fly though that way;(
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/