Re: [RFC] Use kernel_map_pages() to avoid illegal page aliasing.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Thomas Hellström <thomas@...>
Cc: Linux kernel mailing list <linux-kernel@...>, dri-devel <dri-devel@...>
Date: Sunday, April 6, 2008 - 3:01 pm

Thomas Hellström wrote:

Well, not all architectures use 4k as their base page size, but 
kernel_map_pages should work at the smallest supported page size.

The disadvantage of this is that it will end up shattering any 
large-page mappings the kernel has.  This is pretty much unavoidable 
unless you can arrange to only allocate AGP pages in a physically 
distinct area away from other kernel allocations (a mechanism to do this 
might be generally useful, though I'm not sure what form it would take - 
another zone perhaps?).

    J
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] Use kernel_map_pages() to avoid illegal page aliasing., Thomas Hellström, (Sun Apr 6, 10:12 am)
Re: [RFC] Use kernel_map_pages() to avoid illegal page alias..., Jeremy Fitzhardinge, (Sun Apr 6, 3:01 pm)