Hello, On Tue 17-03-15 12:56:30, Jan Kara wrote: > After a long pause I'm sending second version of my patch series to abstract > vma handling from the various media drivers. After this patch set drivers have > to know much less details about vmas, their types, and locking. My motivation > for the series is that I want to change get_user_pages() locking and I want to > handle subtle locking details in as few places as possible. > > The core of the series is the new helper get_vaddr_pfns() which is given a > virtual address and it fills in PFNs into provided array. If PFNs correspond to > normal pages it also grabs references to these pages. The difference from > get_user_pages() is that this function can also deal with pfnmap, mixed, and io > mappings which is what the media drivers need. > > I have tested the patches with vivid driver so at least vb2 code got some > exposure. Conversion of other drivers was just compile-tested so I'd like to > ask respective maintainers if they could have a look. Also I'd like to ask mm > folks to check patch 2/9 implementing the helper. Thanks! Ping? Any reactions? Honza -- Jan Kara <jack@xxxxxxx> SUSE Labs, CR _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel