Skip to content

mm: use down_read_killable for locking mmap_sem in proc

Konstantin Khlebnikov linux-mm lkml 2 versions – In review

Get series with b4
b4 am 156007465229.3335.10259979070641486905.stgit@buzz

Versions newest first · linked by author and title

  1. v2 Latest6 patches 5 repliesIn review
  2. v15 patches 9 repliesSuperseded

Changes in v2 from the cover letter

* update comments and collect acks/reviews.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6proc: use down_read_killable mmap_sem for /proc/pid/mapsfs/proc/task_mmu.c fs/proc/task_nommu.c+10 -20 replies
2/6proc: use down_read_killable mmap_sem for /proc/pid/smaps_rollupfs/proc/task_mmu.c+6 -20 replies
3/6proc: use down_read_killable mmap_sem for /proc/pid/pagemapfs/proc/task_mmu.c+3 -10 replies
4/6proc: use down_read_killable mmap_sem for /proc/pid/clear_refsfs/proc/task_mmu.c+4 -10 replies
5/6proc: use down_read_killable mmap_sem for /proc/pid/map_filesfs/proc/base.c+21 -65 replies
6/6mm: use down_read_killable for locking mmap_sem in access_remote_vmmm/memory.c mm/nommu.c+5 -20 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchRoman GushchinCyrill GorcunovKirill TkhaiMichal HockoMichal KoutnýOleg Nesterov
1/6R-b R-b R-b A-b
2/6R-b R-b R-b A-b
3/6R-b R-b R-b A-b
4/6R-b R-b R-b A-b
5/6R-b R-b R-b A-b
6/6A-b R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/6] mm: use down_read_killable for locking mmap_sem in proc

v1:
https://lore.kernel.org/lkml/155790967258.1319.11531787078240675602.stgit@buzz/

v1 "mm: use down_read_killable for locking mmap_sem in access_remote_vm"
https://lore.kernel.org/lkml/155790847881.2798.7160461383704600177.stgit@buzz/

changes since v1:
* update comments and collect acks/reviews.

---

Konstantin Khlebnikov (6):
proc: use down_read_killable mmap_sem for /proc/pid/maps
proc: use down_read_killable mmap_sem for /proc/pid/smaps_rollup
proc: use down_read_killable mmap_sem for /proc/pid/pagemap
proc: use down_read_killable mmap_sem for /proc/pid/clear_refs
proc: use down_read_killable mmap_sem for /proc/pid/map_files
mm: use down_read_killable for locking mmap_sem in access_remote_vm

 fs/proc/base.c       |   27 +++++++++++++++++++++------
 fs/proc/task_mmu.c   |   23 ++++++++++++++++++-----
 fs/proc/task_nommu.c |    6 +++++-
 mm/memory.c          |    4 +++-
 mm/nommu.c           |    3 ++-
 5 files changed, 49 insertions(+), 14 deletions(-)

--
Signature