From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kara Date: Tue, 06 Oct 2015 09:24:23 +0000 Subject: [PATCH 0/7] get_user_pages() cleanup Message-Id: <1444123470-4932-1-git-send-email-jack@suse.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-mm@kvack.org Cc: Jan Kara , Jesper Nilsson , linux-cris-kernel@axis.com, Mikael Starvik , linux-ia64@vger.kernel.org, Tony Luck , David Airlie , dri-devel@lists.freedesktop.org, Timur Tabi , linux-rdma@vger.kernel.org, Roland Dreier , Daniel Vetter , Andy Walls , linux-media@vger.kernel.org, Mauro Carvalho Chehab From: Jan Kara 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 CC: linux-cris-kernel@axis.com CC: Mikael Starvik CC: linux-ia64@vger.kernel.org CC: Tony Luck CC: David Airlie CC: dri-devel@lists.freedesktop.org CC: Timur Tabi CC: linux-rdma@vger.kernel.org CC: Roland Dreier CC: Daniel Vetter CC: David Airlie CC: dri-devel@lists.freedesktop.org CC: Andy Walls CC: linux-media@vger.kernel.org CC: Mauro Carvalho Chehab