On 01/28/2017 02:12 PM, Ahmed Samy wrote:
On Sat, Jan 28, 2017 at 11:55:05PM +0200, Ahmed Samy wrote:
Take a look at `vmap()', it should be like that API. Dunno if vmap can be used
in place, haven't tried, maybe can get `struct page` and then use vmap? I
don't know, what do you think?
OK, so, I just tried vmap() with a struct page retrieved by pfn_to_page() which
seems to work just fine, so I suppose this can be disregarded, it's my fault; I
should've done more research before posting this to the list.
Sorry.
No problem at all, delighted to hear that your code will be OK!
thanks
john h
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>