[PATCH 0/3] Reduce mmap_sem usage for args manipulation
From: Michal KoutnÃ
Date: Tue Apr 30 2019 - 04:19:29 EST
Hello.
(apologies for late reply) I've aggregated the two previously discussed patches
into one series and based on responses made some changes summed below.
v2
- insert a patch refactoring validate_prctl_map
- move find_vma out of the arg_lock critical section
Michal Koutnà (3):
mm: get_cmdline use arg_lock instead of mmap_sem
prctl_set_mm: Refactor checks from validate_prctl_map
prctl_set_mm: downgrade mmap_sem to read lock
kernel/sys.c | 55 ++++++++++++++++++++++++++++---------------------------
mm/util.c | 4 ++--
2 files changed, 30 insertions(+), 29 deletions(-)
--
2.16.4