Re: Creating a page struct for HIGHMEM pages

From: William Lee Irwin III
Date: Sun Dec 07 2003 - 13:10:52 EST

On Sun, Dec 07, 2003 at 08:05:39PM +0200, Amir Hermelin wrote:
> Yes, I've tried ioremap (and placed the address in the ->virtual field), but
> had problems with pre-written code that used kmap. So, basically, what
> you're saying is that I must change my code that uses kmap, or
> alternatively, allocated page* below the highmem_start_page address. Is
> this correct?

You don't need struct pages at all; ioremap() will just map physical to
virtual without the things just fine.

-- wli
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at