Messages in this thread | | | Subject | Re: Adding kmap_atomic_prot_pfn (was: [git pull] drm patches for 2.6.27-rc1) | From | Benjamin Herrenschmidt <> | Date | Fri, 24 Oct 2008 14:24:05 +1100 |
| |
On Thu, 2008-10-23 at 19:48 -0700, Linus Torvalds wrote: > Then, there's the issue of 64-bit, and just mapping everything there, and > the interface to that. I liked the trivial extension to "struct resource" > to have a "cached mapping" pointer. So if we can just make it pass > resources around and get a page that way (and not even need kmap() on > 64-bit architections), that would be good.
I'm not that fan of carrying a mapping with a struct resource because if we do that we should probably also refcount the mapping, and then there is the whole question of mappings with different attributes, etc etc...
Cheers, Ben.
| |