[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: remap_page_range problem on 2.3.x



Andy Henroid wrote:
> 
>                        Name: mmtest.tar.gz
>    mmtest.tar.gz       Type: Unix Tape Archive (application/x-tar)
>                    Encoding: base64
>                 Description: mmtest.tar.gz

Are these the correct test files?

rum:~/tmp/mmtest> grep -i remap *
rum:~/tmp/mmtest> 

I think you'll need to do something like

init():
	dsdt = get_free_pages(...)

chrdev mmap() op:
	remap_page_range(dsdt, ...)

If you are going to present data via /proc, you might as well simply
dump the raw data out to whoever is reading /proc/driver/acpi/dsdt...

-- 
Jeff Garzik              | My to-do list is a function
Building 1024            | which approaches infinity.
MandrakeSoft, Inc.       |
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/