Re: Problem with remap_page_range/mmap
From: Christian Leber
Date: Fri Mar 26 2004 - 04:41:36 EST
On Fri, Mar 26, 2004 at 07:17:39AM +0000, Christoph Hellwig wrote:
> You can't call remap_page_range on normal kernel pages. It works only
> if you mark them PG_reserved, but even that use is usually not a good idea.
It also didn´t work with PG_reserved.
What would be the good idea? I need at least 8 at least 4MB (2MB are enough for 2.4)
big physical memory pieces for DMA, mapped to userspace.
What is the reason why it doesn´t work? There seems to be no special
remap_page_range for ia64.
"Omnis enim res, quae dando non deficit, dum habetur et non datur,
nondum habetur, quomodo habenda est." (Aurelius Augustinus)
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/