get_user_pages() cleanup
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest26 patches 36 repliesIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
3 of 26 patches have a Reviewed-by or Acked-by.
| Patch | Laurent Pinchart | Andreas Dilger | Andy Walls |
|---|---|---|---|
| 1/26 | |||
| 2/26 | |||
| 3/26 | |||
| 4/26 | |||
| 5/26 | A-b | ||
| 6/26 | |||
| 7/26 | |||
| 8/26 | |||
| 9/26 | |||
| 10/26 | A-b | ||
| 11/26 | |||
| 12/26 | |||
| 13/26 | |||
| 14/26 | |||
| 15/26 | |||
| 16/26 | |||
| 17/26 | |||
| 18/26 | |||
| 19/26 | R-b A-b | ||
| 20/26 | |||
| 21/26 | |||
| 22/26 | |||
| 23/26 | |||
| 24/26 | |||
| 25/26 | |||
| 26/26 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/26] get_user_pages() cleanup
Hello,
In my quest for changing locking around page faults to make things easier for
filesystems I found out get_user_pages() users could use a cleanup. The knowledge about necessary locking for get_user_pages() is in tons of places in drivers and quite a few of them actually get it wrong (don't have mmap_sem when calling get_user_pages() or hold mmap_sem when calling copy_from_user() in the surrounding code). Rather often this actually doesn't seem necessary. This patch series converts lots of places to use either get_user_pages_fast() or a new simple wrapper get_user_pages_unlocked() to remove the knowledge of mmap_sem from the drivers. I'm still looking into converting a few remaining drivers (most notably v4l2) which are more complex.
As I already wrote, in some cases I actually think drivers were buggy (and I note that in corresponding changelogs). I would really like to ask respective maintainers to have a look at the patches in their area. Also any other comments are welcome. Thanks.
Honza
PS: Sorry for the huge recipient list but I don't really know how to trim it
down...
--
To unsubscribe, send a message with 'unsubscribe linux-aio' in the body to [email protected]. For more info on Linux AIO,
see: http://www.kvack.org/aio/
Don't email: <a href=mailto:"[email protected]">[email protected]</a>