On Fri, 17 Jul 2015 12:23:40 +0200 Hans Verkuil <hverkuil@xxxxxxxxx> wrote: > On 07/13/2015 04:55 PM, Jan Kara wrote: > > From: Jan Kara <jack@xxxxxxx> > > > > Provide new function get_vaddr_frames(). This function maps virtual > > addresses from given start and fills given array with page frame numbers of > > the corresponding pages. If given start belongs to a normal vma, the function > > grabs reference to each of the pages to pin them in memory. If start > > belongs to VM_IO | VM_PFNMAP vma, we don't touch page structures. Caller > > must make sure pfns aren't reused for anything else while he is using > > them. > > > > This function is created for various drivers to simplify handling of > > their buffers. > > > > Acked-by: Mel Gorman <mgorman@xxxxxxx> > > Acked-by: Vlastimil Babka <vbabka@xxxxxxx> > > Signed-off-by: Jan Kara <jack@xxxxxxx> > > I'd like to see an Acked-by from Andrew or mm-maintainers before I merge this. I think I already acked this but it got lost. Acked-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> -- 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>