Re: PROBLEM: Is remap_page_range() working properly?

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Sep 22 2000 - 19:17:09 EST


> Is remap_page_range working properly?

Probably

> But the code in remap_pte_range() seems to behave exactly in the opposite
> way; as far as I can see, it sets to null every page, _except_ "references
> to nonexistent pages"! Here are the relevant lines of code taken from
> kernel 2.0.32 (the file is mm/memory.c):

You can only remap reserved or I/O space

Read drivers/sound a bit - it has code that allocates, reserves and remaps
memory

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



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:28 EST