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

From: Konstantin Khlebnikov
Date: Sun Jun 09 2019 - 06:13:20 EST


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