Prevent ->map_pages from sleeping
Status from this message: [merged mm-stable] mm-hold-the-rcu-read-lock-over-calls-to-map_pages.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 3 repliesApplied 3/3
- v13 patches 10 repliesSuperseded
Changes in v2 from the cover letter
- Add tags from David Howells
- Go into more detail about the locking in the XFS patch
Patches in v2 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | xfs: Remove xfs_filemap_map_pages() wrapperfs/ | +1 | 1 reply | Applied |
| 2/3 | afs: Split afs_pagecache_valid() out of afs_validate()fs/ fs/ fs/ | +22 | 0 replies | Applied |
| 3/3 | mm: Hold the RCU read lock over calls to ->map_pagesDocumentation/ mm/ | +10 | 2 replies | Applied |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | David Howells | Dave Chinner |
|---|---|---|
| 1/3 | R-b | |
| 2/3 | A-b T-b | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] Prevent ->map_pages from sleeping
In preparation for a larger patch series which will handle (some, easy) page faults protected only by RCU, change the two filesystems which have sleeping locks to not take them and hold the RCU lock around calls to ->map_page to prevent other filesystems from adding sleeping locks.
v2:
- Add tags from David Howells
- Go into more detail about the locking in the XFS patch
Matthew Wilcox (Oracle) (3):
xfs: Remove xfs_filemap_map_pages() wrapper
afs: Split afs_pagecache_valid() out of afs_validate()
mm: Hold the RCU read lock over calls to ->map_pages
Documentation/filesystems/locking.rst | 4 ++-- fs/afs/file.c | 14 ++------------ fs/afs/inode.c | 27 +++++++++++++++++++-------- fs/afs/internal.h | 1 + fs/xfs/xfs_file.c | 17 +---------------- mm/memory.c | 11 ++++++++--- 6 files changed, 33 insertions(+), 41 deletions(-)
Signature · 1 line
2.39.2