get_user_pages() cleanup
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | cris: Convert cryptocop to use get_user_pages_fast()arch/ | +10 | 2 replies | |
| 2/7 | ia64: Use get_user_pages_fast() in err_inject.carch/ | +1 | 0 replies | |
| 3/7 | drm: Convert via driver to use get_user_pages_fast()drivers/ | +4 | 0 replies | |
| 4/7 | fsl_hypervisor: Convert ioctl_memcpy() to use get_user_pages_fast()drivers/ | +2 | 0 replies | |
| 5/7 | IB/mthca: Convert mthca_map_user_db() to use get_user_pages_fast()drivers/ | +1 | 0 replies | |
| 6/7 | drm/i915: Convert to use get_user_page_unlocked()drivers/ | +6 | 0 replies | |
| 7/7 | ivtv: Convert to get_user_pages_unlocked()drivers/ | +6 | 0 replies |
Reviews trailers per patch
1 of 7 patches has a Reviewed-by or Acked-by.
| Patch | Jesper Nilsson |
|---|---|
| 1/7 | A-b |
| 2/7 | |
| 3/7 | |
| 4/7 | |
| 5/7 | |
| 6/7 | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] get_user_pages() cleanup
From: Jan Kara <[email protected]>
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