From: Jan Kara <j...@suse.cz> Hello,
Now when the usage of get_user_pages() in media drivers got cleaned up, here comes a series which removes knowledge about mmap_sem from a couple of other drivers. Patches are trivial and standalone but please check, they are only compile tested. If you are OK with them, either take them through your respective trees or ack them and I can take care of pushing them to Linus (probably through mm tree). Thanks. After these patches there are some 12 call sites of get_user_pages() outside of core code (mostly infiniband and RDMA). So we are slowly getting to the goal of removing knowledge about page fault locking from drivers which will consequently allow us to change the locking rules with reasonable effort. Honza CC: Jesper Nilsson <jesper.nilsson at axis.com> CC: linux-cris-kernel at axis.com CC: Mikael Starvik <starvik at axis.com> CC: linux-ia64 at vger.kernel.org CC: Tony Luck <tony.luck at intel.com> CC: David Airlie <airlied at linux.ie> CC: dri-devel at lists.freedesktop.org CC: Timur Tabi <timur at freescale.com> CC: linux-rdma at vger.kernel.org CC: Roland Dreier <roland at kernel.org> CC: Daniel Vetter <daniel.vetter at intel.com> CC: David Airlie <airlied at linux.ie> CC: dri-devel at lists.freedesktop.org CC: Andy Walls <awalls at md.metrocast.net> CC: linux-media at vger.kernel.org CC: Mauro Carvalho Chehab <mchehab at osg.samsung.com>